#tyson
1 messages ยท Page 1 of 1 (latest)
Hi there,
Yes when creating the PaymentIntent you specify your Platform Fees application_fee_amount:
https://stripe.com/docs/connect/direct-charges#collecting-fees
Yes, using direct charges is recommended for Standard accounts
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Hi but using direct charges would using the pplication_fee_amount be the right thing to tdo
yes
Ok sweet
i am getting the error Can only apply a subscription application_fee_percent when the Checkout Session is made on behalf of another account (using an OAuth key, the Stripe-Account header, or setting subscription_data.transfer_data.destination
How do i and what set is the ubscription_data.transfer_data.destination
this is because you're not doing it as a Direct Charge
in order to do so you need to use the Stripe-Account header
the Connected Account id should be passed like this https://stripe.com/docs/api/connected_accounts
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@upper dagger
I have looked at the docks and will to be subscription_data[transfer_data][destination] = connect id
Wait to i make a charge call with the header or is this still in checkout?
This would be a destination Charge
what I suggest you do is to add the StripeAccount header when creating the Checkout Session so all objects would be created on your Connect Account instead resulting in a Direct Charge
Ok cool so all i readlly need to do is add the header then it will become a desintation charge and i wont get the error
it will become a Direct Charge yes