Week 10 Payment Split Works -> Pickup

 

 Title : Payment Split when a users pickups a food works

Author Sampurna Adhikari

-> When a users checkout with the Pickup option, the total fees is being split between the Food Lister, Platform(Our Fee) and stripe fee.

Logs: 

When a user pays for food the backend creates a Stripe PaymentIntent which is 

transfer_data.destination is the donor stripe account which is connected via profile
.

application_fee_amount  which is platform’s marketplace fee and stripe automatically deducts processing fees from the connected account’s payout.


here the total amount 11.17 is charged to a user paying for the food then we take 2.20 as our fee and the rest is then transfered to the donor stripe account.

Comments

Popular posts from this blog

Week 3 Activity

Week-5 Report (Food NextDoor)

Research: Reducing Food Waste with Smart Apps