#jastine.tanjuaquio
1 messages · Page 1 of 1 (latest)
It sounds like your backend is creating the intent on your connected account but your client is trying to access that intent as your platform account
If you are using Stripe.js, you can specify that you want to make calls as your connected account by using this param https://stripe.com/docs/js/initializing#init_stripe_js-options-stripeAccount
yes, I think thats the issue. but I don't know how to resolve this issue. or way around it.
I'm using the android sdk.
@forest spruce is there equivalent for Android sdk and IOS?
Yes there are though I don't know where the docs are off the top of my head
Will be able to look in a minute, if you want to look in the meantime, it should also be in the initialization settings for those SDKs
This will either look like:
publishableKey="{{PLATFORM_PUBLISHABLE_KEY}}"
stripeAccountId="{{CONNECTED_STRIPE_ACCOUNT_ID}}"
>
// Your app code here
</StripeProvider>
or
publishableKey: publishableKey,
stripeAccountId: 'acct_123',
merchantIdentifier: 'merchant.identifier',
urlScheme: "your-url-scheme",
});```
https://stripe.dev/stripe-react-native/api-reference/interfaces/InitStripeParams.html
Documentation for @stripe/stripe-react-native