#gasper_api

1 messages ยท Page 1 of 1 (latest)

coral cargoBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1283311612798963784

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

idle spoke
#

Also my question is how and when we should create such customer on correct stripe account? And how to connect custmer with created payment method

bronze fern
#

Your setup looks a bit unusual to me, since a Stripe account could accepts payments from cards from any other country. But okay that technically can work

#

Was there anything that prevent you create AE customers on your GB Stripe Account?

idle spoke
#

new AE users which are not using amex card we would like to create them in AE stripe account not in GB stripe

bronze fern
#

Yeah but any reason for that? What's wrong with creating them in GB account?

#

Sorry I am trying to understand your business scenario

idle spoke
#

it was our client decision ๐Ÿ™‚

#

so to have majority AE user in AE stripe account and the ones using amex cards created in GB stripe account

#

lately we are adding new payment methods (paypal) and our mobile developer starts using payments sheets API to create new payment methods (enabled in stripe account)

bronze fern
#

Okie let's put ahead the fact that you are separating Stripe Accounts. Sure that should work too. Anything behaves unexpectedly?

idle spoke
#

question we have is when we should create such customer on stripe and to connect customer with newly created payment method

bronze fern
#

Generally before you create the SetupIntent or PaymentIntent, so you can use the Id in to it, in a same Stripe Account

#

In order to do that, you will need to know which country you want they to be in beforehand

idle spoke
#

in this case we need to create user in stripe account after amex/visa selection but customer can still change selection in mobile app

bronze fern
#

Yeah that is the tricky part with your current approach. Every time they change selection, you would need to change the customer id, the publishable key, the setup_intent client_secret

idle spoke
#

but this mean we can have duplicated customer in two stripe accounts. Do we need to have stripe customer created before using payment sheet api?

bronze fern
#

It's better to have so you can save their payment method and show again next time, omit them need to type in again