#tyson

1 messages ยท Page 1 of 1 (latest)

fallow ermineBOT
tawny sail
primal mural
#

Would that work with standard accounts with direct charges.

#

@tawny sail

tawny sail
#

Yes, using direct charges is recommended for Standard accounts

upper dagger
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

primal mural
#

Hi but using direct charges would using the pplication_fee_amount be the right thing to tdo

upper dagger
#

yes

primal mural
#

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

upper dagger
#

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

primal mural
#

my account header?

#

or the connect account header

upper dagger
primal mural
#

@upper dagger

upper dagger
#

yes?

#

@primal mural

primal mural
#

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?

upper dagger
#

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

primal mural
#

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

upper dagger
#

it will become a Direct Charge yes