#waleed.bin.khalid

1 messages · Page 1 of 1 (latest)

round umbraBOT
#

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

woven wing
#

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

slender talon
#

If you're using transfer_data why are you also trying to add an application fee?

woven wing
#

using destination charge

#

but wanna take application fee

slender talon
#

Do you have an example request I can look at?

woven wing
#

code for payment intent ?

slender talon
#

Sure

woven wing
#

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

slender talon
#

You can only set either application_fee_amount OR transfer_data.amount . Why are you setting both?

woven wing
#

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

slender talon
woven wing
#

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

slender talon
woven wing
#

got it, but i want to transfer 0.68 to connect account not full amount, plus also want to take application fee

#

is it doable ?

#

bcz it is sending full amount to connect account and plateform account balance goes to -ve\