#daagcentral
1 messages · Page 1 of 1 (latest)
This comes down to the difference between direct charges: https://stripe.com/docs/connect/direct-charges and destination charges: https://stripe.com/docs/connect/destination-charges. With direct charges, the connect seller pays the fees. With destination charges, you pay the fees
Direct charges are only recommended if you're using Standard accounts. Destination charges are only recommended if you're using Custom and Express accounts
so our intent used to look like this:
stripe.paymentIntents.create({
amount: 5500,
currency: 'usd',
application_fee_amount: 246,
automatic_payment_methods: { enabled: true },
metadata: { custom_id: '92b57243-0d61-4214-8374-079541be0515' },
transfer_data: { destination: 'acct_SOMESELLERACCOUNT' }
})
what we should do is this:
stripe.paymentIntents.create({
amount: 5500,
currency: 'usd',
application_fee_amount: 246,
automatic_payment_methods: { enabled: true },
metadata: { custom_id: '92b57243-0d61-4214-8374-079541be0515' },
}, {
stripeAccount: 'acct_SOMESELLERID',
})
No problem
You should also fully read that doc to understand all the differences with direct charges
will do
Just to confirm, we will get our application_fee, seller gets total - stripe fees right
Correct
we keep getting this
message
:
"No such payment_intent: 'pi_3NgYc4GRs6B1g8ST1tNCuFrb'"
When trying to do what?
when completing the payment
Again, recommend reading the direct charges doc. It sounds like you're not initializing Stripe clientside with the connect account header
ie the second code snippet here :https://stripe.com/docs/connect/direct-charges#create-a-charge
I'm an idiot haha. fixing!
No worries!