#t9-zero-accounts

1 messages · Page 1 of 1 (latest)

glossy smelt
#

hello! i'm afraid i don't quite understand the question, can you share more on what you're trying to do?

past tundra
#

I am going to launch our app to different country with different stripe account,

#

so i want to know how to config the stripe account and apply different key to the same app,.

wicked flint
#

Hi @past tundra let me help you

#

Are you going to include different stripe keys in one mobile app? or do you want to have only one key in each of mobile apps generated from the same project?

past tundra
#

different stripe keys in one mobile app

wicked flint
#

OK, then I guess you have a logic to determine which key to use, i.e., when your customer choose a country or location

past tundra
#

yes
we are trying to apply
stripe A account in A country
stripe B account in B country..

wicked flint
#

Got it. In this case you shall just initalize the Stripe SDK with the corresponding publishable key when your customer chooses a country.

#

You should also include a metadata in the network requests made from your mobile app to your server, so that your server knows which secret key to use when making an API call to Stripe

past tundra
#

got it.
but how about the apple/google pay setup part
does the csr cert possible to apply that to apple account?

#

cause there are one ios/android app linking to two different stripe account.

wicked flint
#

Hmm, yes the Apple certificate in this case is tricky.

#

Let me ask check something, one sec

wicked flint
#

Thanks for the waiting. You should use separated CSR certificates for separated Stripe Account, instead of using the same CSR for two different Stripe Accounts,

past tundra
#

great
thanks a lot @wicked flint @glossy smelt

past tundra
#

hi stripe developers,

a follow up question
I have been created import CSR cert to create a Apple Pay Payment Processing Certificate in apple developer account
but Im confusing about this cert,after the importation,
the old cert status is an active cert.but the new cert are required to activate?
does it mean only one cert available at the same time?
and I would need to revoke the old one?

wicked flint
#

You can generate a new certificate and upload it to Stripe dashboard alongside the existing one.

#

Once you see both certificates, you can go back to their Apple dashboard to switch to the new certificate by hitting the "Activate" on that side. Apple will start exclusively using the new certificate to send Apple Pay cards to Stripe. As long as the certificate is in place in the Stripe dashboard, we’ll be able to decode the Apple Pay messages from Apple and proceed as usual.

past tundra
#

but if I switch to Activate the new one
does the old certificate not available to use?

wicked flint
#

It will retire the old certificate

past tundra
#

yes,
does it mean the old stripe account & old cert can not decode apple pay message anymore🤨

wicked flint
#

Yes, but why do you still want to use the old certification once the new one is activated?

past tundra
#

for the target.
I would to have two stripe account linked to two apple pay payment process cert and than linked to one application

and for now
import the old csr from the old stripe account into apple to generate a pay payment process cert - which work normally
and for the next step
import the new csr to apple to to generate a pay payment process cert- also success
and we tested apple pay and android pay are also work with both cert(old cert is active,new cert is now active) - i dont know why,but its work with the new cert & new stripe account

and for next step
If I switch the new cert to active status
the old stripe account and old cert will be disactive, does the old stripe account can not accept payment any more?

#

that means I can not integrate two stripe accounts/key into one app?

trail minnow
#

Hey, still looking into this

#

Are you creating the certificates with Apple Pay under unique merchant IDs?

#

Our expectation would be that each Apple Pay certificate be owned by a unique merchant ID

past tundra
#

Are you creating the certificates with Apple Pay under unique merchant IDs?<<==YES

trail minnow
#

And certificates are still being disabled?

past tundra
#

no
one is active cert
one is no status display🤣

trail minnow
#

They seem to be under the same merchant ID

past tundra
trail minnow
#

Each certificate needs be under a different Apple merchant ID

past tundra
#

does it mean i would need to create one more merchant ID to my applciation

#

?

trail minnow
#

Yes, that is the expectation as each merchant can only have a single certificate

past tundra
#

got it
thanks @trail minnow

trail minnow
#

np!

past tundra
#

big thanks!

trail minnow
#

Let us know if this works 🙂

past tundra
#

seems everything good
thank you again😗

trail minnow
#

Yay!