#rvk
1 messages · Page 1 of 1 (latest)
What's the PaymentIntent ID?
Hmm, wait, you shouldn't use the connected account's publishable key in your mobile app. You should alsways use platform's publishablebale and set a stripeAccountId when initializing stripe SDK in frontend.
Interesting, where can I find PLATFORM_PUBLISHABLE_KEY
wait, is that the public key of the connected account?
the pk_live_xxxx key
No, as I mentioned before, never use connected account's publishable key.
sorry, I think I confused you. I have platform account P and multiple cliemt connected accounts c1, c2...
In backend, I am generating payment intent using
stripe.PaymentIntent.create(
amount=1000,
currency="usd",
automatic_payment_methods={"enabled": True},
stripe_account='{{C1_ ACCOUNT ID}}',
)
what do I need to do on front end and what keys do I need to use?
Thanks for your help