#Klauz-checkout
1 messages · Page 1 of 1 (latest)
Yes that's just after this
if so you need to pass StripeAccount to our JS library as well : https://stripe.com/docs/connect/authentication#adding-the-connected-account-id-to-a-client-side-application
(also I'll point out you don't need to use redirectToCheckout any more! you can just take session.url and redirect to it from your backend)
Great to know thanks for the swift reply
Is there any reason it fails on certain calls and not other?
it should be consistent, so hard to say without looking at all your code! My guess is maybe sometimes the variable you pass to stripe_account in your Python code is nil so you end up creating the Session on your main account intead
in that particular case it is not but I'll double check the implementation
both python & js pass the correct account