#sebaqe-error
1 messages · Page 1 of 1 (latest)
heya @peak olive! the PaymentIntent was created with a different Stripe account from your publishable key
i.e. PaymentIntent was created with Stripe account's A secret key, and you tried to confirm it with Stripe account's B publishable key
ohhh... this must be because I'm trying to set this up for Stripe connect.
If I'm setting up a paymentintent for a marketplace that will use express accounts and pay out , I shouldn't have ['stripe_account' => {connected_account_id} as part of the intent... right? that's just for direct charges and standard accounts?
yep, you're correct.
It sounds like you're using destination charges, you can also take a look at this guide : https://stripe.com/docs/connect/destination-charges
To explain a bit more, when you do this :
You're essentially making the API call on the connected account instead : https://stripe.com/docs/connect/authentication
ok. let me try correct my mistake. thanks for your help, please don't archive yet, i will come back to this shortly!
sure!
thank you. this has been fixed. used 'Destination' => {stripe_acct_id} instead and it worked! thanks a lot!
you're welcome! 😃