#junaid_abbasi999

1 messages · Page 1 of 1 (latest)

pure hollowBOT
#

Hello! We'll be with you shortly. 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.

shadow patio
#

Hello

#

So you should only test in test mode here

brittle geode
#

no i meant to say that i will use a real card, but I want stripe to just revert back the transaction that is made??

shadow patio
#

I understood, and I'm saying you should never do that.

#

And no, we won't just "revert the transaction". You should not be testing in live mode.

brittle geode
#

All right, thanks for the help....

#

one more question, I am testing the Gpag in my live mode and at the bottom there is the text written in red color "Your payment method won't be charged because you are in test mode"

#

I am using stripe/react-native

shadow patio
#

Well that sounds like you aren't testing in live mode 😅

#

Which publishable key do you have set?

#

Have you double checked that it is your test mode publishable key?

#

To be clear, you can test Google Pay in test mode just fine. You do need to have a live card in your wallet but you use your test mode keys and we swap out your live card for a test card during the flow so your live card isn't charged.

brittle geode
#

no it is live one..... if it is test the module that pop up at the bottom shows "Test" written at the top...

shadow patio
#

if it is test the module that pop up at the bottom shows "Test" written at the top...
Hmmm I don't believe the Google Pay modal shows that

#

When I have tested it shows the Your payment method won't be charged because you are in test mode text

#

Do you have a screenshot of what you are seeing?

brittle geode
#

wait

#

this

#

and also when i try to input the test card i.e 4242....42 for live mode, it says card declined

shadow patio
#

You may want to redact that screenshot if that is your real email as this is a public server fyi

brittle geode
#

oh i didn't see

shadow patio
#

That does look like what I expect for test mode though. And yeah, you can't use the 4242 card when testing Google Pay

#

You do what I said above -- you use a live card and it gets swapped out after you hit "pay"

brittle geode
#

but i test it again i am in live mode

#

wait i am sending you some more screen shots

#

see if it had been test then I could have seen "Test" written on top

shadow patio
#

Ah of Payment Sheet specifically. Not the Google Pay modal.

#

What do you have set for testEnv in your initPaymentSheet function?

brittle geode
#

it set to true

shadow patio
#

Okay so that is why you see test mode in the Google Pay modal