#junaid_abbasi999
1 messages · Page 1 of 1 (latest)
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.
- junaid_abbasi999, 5 days ago, 9 messages
- junaid_abbasi999-receipt-branding-obo, 6 days ago, 32 messages
Hello
You should never be testing in live mode. It is prohibited by the card networks. See: https://stripe.com/docs/testing#use-test-cards
So you should only test in test mode here
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??
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.
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
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.
no it is live one..... if it is test the module that pop up at the bottom shows "Test" written at the top...
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?
wait
this
and also when i try to input the test card i.e 4242....42 for live mode, it says card declined
You may want to redact that screenshot if that is your real email as this is a public server fyi
oh i didn't see
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"
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
Ah of Payment Sheet specifically. Not the Google Pay modal.
What do you have set for testEnv in your initPaymentSheet function?
it set to true
Okay so that is why you see test mode in the Google Pay modal