#waleed.bin.khalid
1 messages · Page 1 of 1 (latest)
Hello waleed.bin.khalid, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• waleed.bin.khalid, 4 hours ago, 12 messages
• waleed.bin.khalid, 1 day ago, 10 messages
I am creating payment intent with transfer data with amount and account id. I am unable to add application fee with transfer data amount attribute
If you're using transfer_data why are you also trying to add an application fee?
Do you have an example request I can look at?
code for payment intent ?
Sure
const paymentIntent = await stripe.paymentIntents.create({
amount: 2000,
currency: 'usd',
automatic_payment_methods: {enabled: true},
application_fee_amount: 5,
transfer_data: {
amount:
destination:
}
});
i wanted to make send payment to connect account thats why transfer data
You can only set either application_fee_amount OR transfer_data.amount . Why are you setting both?
if I did not add transfer.amount then what is happening here. make a payment of 100 cents. 100 cents charge created on plateform account + stripe deducted its fee like 33 cents. Now its creating transfer of 100 cents to connect account but plateform dont have 667 cents
thats why I am mentioned transfer_data.amount to exactly send 67 in order to create transfer of 67 cents
Have you read these docs? https://stripe.com/docs/connect/destination-charges
Those docs go into exactly how this behavior works.
I have read this doc but it is not behaving like this
see this. i have created payment intent for 1.01 dollar. it create charge on plateform, stripe take its fee remaining is 0.68
next it is creating charge of $1.01 dollars agains
again*
transfer*
it should create transfer of 0.68 because after stripe fee 0.68 dollars are left
It's behaving correctly - it's exactly like how we describe in this chart: https://stripe.com/docs/connect/destination-charges#flow-of-funds-app-fee
If you use application_fee_amount then the FULL amount is transferred to your connected account