#dooms4973

1 messages · Page 1 of 1 (latest)

pearl thistleBOT
quick pewter
exotic glade
#

thx for your answer , can i do this with a checkout session ?

quick pewter
#

Sure, you'd just create the session/payment as normal (minus the application_fee_amount parameter) and then create the required transfers after the session is complete

exotic glade
#

ok thx a lot again , i have trouble to understand this , so if i create a payment with checkout and application fee , amount = 1000 + fee , application_fee = 2% , on_behalf=providerAccount , so the client pay 1020 euros , my application get 20 euros fee for this payment and the provider get 1000 , and now when the payment is succeed using a webhook "payment_succeed" , i create a charge of 2% of 1000 for the provider and i my platform get 20euros fee .

#

i understant thx again