#reikoBooop

1 messages · Page 1 of 1 (latest)

fierce lichenBOT
silent bobcat
#

Hi @ashen schooner Can you tell me the problem so that I can help you?

ashen schooner
#

Hi Jack, I am having issue with Apple pay and Google pay. We initially had issue with Apple pay and with your team's advise, its now working with Apple pay but unfortunately Google pay is not working with connected account which is made with live mode key.

#

Google pay is working fine for the connected account with test mode key but not working on Apple pay

silent bobcat
#

I'm a bit confused, so both Google Pay and Apple Pay are not working?

ashen schooner
#

its probably easier if you can re-open the conversation from last week, it is confusing

#

Let me summarise it, we are using stripe.paymentRequest for wallet payment.
initially Apple pay was not working and issue was caused because the connected account was created with test mode key and not live mode key. So we created account with live mode key. Now, apple pay is working to the connected account for Apple pay but other connected accounts (which was made with test mode key) Google pay is not working and giving me error of Request failed unexpected developer error, please try again later.

#

this connected account was made within Stripe dashboard in non-test mode

silent bobcat
#

OK, so if I understand correctly, Apple Pay is working now, but not Google Pay?

ashen schooner
#

yes that is correct

silent bobcat
#

Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details

ashen schooner
#

acct_1KxKn7COApIvyfoa

silent bobcat
ashen schooner
#

yes I can see the button. with our checkout page, I can also see the Google button and follow the steps but then I try to finalise the payment within the popup, it gives me error message at the end

silent bobcat
#

What kind of error message?

ashen schooner
silent bobcat
#

Are you testing from a phone or desktop?

ashen schooner
#

I am testing from a phone

silent bobcat
#

Do you encounter the same error when testing from a desktop?

ashen schooner
#

I actually never tested on a desktop

#

Should I test it on desktop?

#

I just tested on desktop and same result
but got different error message on console
pay.js:187 DEVELOPER_ERROR in loadPaymentData: Invalid stripe:publishableKey for current environment. Make sure you are using Stripe's test key.

silent bobcat
#

Hmm, did you use the test publishable key when initializing Stripe.js ?

ashen schooner
#

yes I am using the test publishable key...

silent bobcat
#

But the error message says otherwise, can you double check?

ashen schooner
#

I did have a look again but using the correct publishable key plus Google pay does not work for the connected account which was made with live mode key, for any other connected account that was made with test mode key, google pay works fine

#

is that mean for connected account made with live mode key, I can only use publishable key starting with pk live ?

silent bobcat
#

Did you create the account with live key?

ashen schooner
#

yes the account is created with live key

silent bobcat
#

OK, you can only use live key in this case since the account was connected through a live key

ashen schooner
#

Just checking if I use live key for the live account, would charge happens?

silent bobcat
#

Yes it'll create real charge if you use live key.

#

I'd suggest you to use test key with connected account created with test key during development.

ashen schooner
#

Right, good to know.
Last time I spoke with your team when Apple pay was not working, it was pointed out that because the connected account needed to be created with live key, is there any way that Apple pay to work with just test key only? or Apple pay will only work for the connected account created with live key?

silent bobcat
#

You can use test key to create a connected account and test Apple Pay. The important thing is that you need to use live key to register an Apple Pay domain for connected account

ashen schooner
#

We tried to register the apple domain using live key for test connected account it was not working, that is why we had to create live connected account

ashen schooner
#

So we cant test Apple pay with test account?

#

Or is there another way to to it