React native google pay and stripe integration error - google-play

I'm developing an application with react native and I am using this library
https://github.com/tipsi/tipsi-stripe in order to use Google Pay with stripe integration.
I already linked the test key from stripe and the merchant Id from play store.
I have a serious issue though. After running the app, when the Google Pay popup form opens,
i get the Google Pay dialog but with a message
"Unrecognized app. Please make sure you trust this app
before proceeding".
However when I enter a test card and press continue I get an additional error that says
Transaction declined: invalid payment method. [OR-CCSEH-05]
I would appreciate any help.
See image below

When testing Google Pay, you actually use real credit cards. That said, I'd be doubly positive you've got your environment set to use Test Mode in Google Pay. Outside of Tipsi, you'd usually set that with the WalletConstants.ENVIRONMENT_TEST constant. Hope that helps!

i've contacted google regarding this case, as i've been facing similar one and upon it's inspection i've received the following reply:
Thanks for being Patient. I apologize for the inconvenience caused.
Upon checking, I understand that you're unable to add testing cards. I would like to inform you that testing cards can't be added to Google Payment profile as payment Method.
Thanks!
upon further investigation by Stripe it self i've been assured:
For a bit of context on how Google Pay works to test payments. When you’re using your test mode API keys, the actual details of the card are ignored, and they get replaced with the Stripe 4242 test card. To test authentication you will not be able to add the test cards to your Google Pay account however there is a work around for this, you add our 3DS test cards to Chrome and use the PaymentRequest button with them (making sure to choose them, and not Google Pay itself). Unfortunately there is no direct method to testing this in your the app.
so setting WalletConstants.ENVIRONMENT_TEST at 5th step of their tutorial should be sufficient and then use your real card.
https://developers.google.com/pay/api/android/guides/tutorial

Related

Can I use Google Pay for Passes without having a Merchant account?

Currently, I'm willing to use Google Pay for Passes in order to let users add an event ticket to their google pay app. However, reading the documentation, apparently, I also need a Merchant account on Google. I would like to know if there is any other way to test without having a Merchan yet.
My goal so far is to be able to create just an event ticket class.
I have tried so far using my service account and issuer id, but I'm always receiving and 400 error.
You can try the codelab: https://codelabs.developers.google.com/passes-loyaltyapi
The codelab will take you through the process of creating a temporary issuer account for development purposes.

Your request failed. Use a different payment method, or contact us. Learn more [OR-CCSEH-21]

I was trying to pay for google developer account but I am getting this error
Your request failed. Use a different payment method, or contact us.
Learn more [OR-CCSEH-21]
I tried searching a lot but most of them have answers for [OR-CCSEH-05] but not for [OR-CCSEH-21]
What can I do?
For my Turkish colleague;
QNB didn't worked
Kuveytturk didn't worked
Yapıkredi worked.
This solved the problem for me:
Sign in to Google Pay [https://pay.google.com/]. I noticed that this page is the "parent" to Google Development Account payment, e.g., you can have different payment methods for your personal gmail extra storage and your business google development account. They show up under the "Subscriptions and services" tab. Also, errors seem easier to handle here.
At the top-right corner, select Alerts. This is the "Bell/notification" icon.
If you have a red alert, take care of that. In my case, I have not chosen a Backup payment method in addition to the Primary method.
Refresh the page to make sure there is no critical Alert left.
Go to "Payment methods" tab and "Add payment method". In my case when I entered the card numbers, an old address of me populated in the address and zip code fields. I simply changed that to my legal address and that worked! However, when I did the same action in the google development account payment page, I was getting the [OR-CCSEH-21] (on Safari) or [OR-CCSEH-24] (on Chrome) errors. I could not find where Google is reading the old address from (probably a bug)
I tried Union Bank of India, it didn't worked
I tried State Bank of India, it didn't worked
I tried Andhra Bank, it didn't worked
I tried Axis Bank, it didn't worked
I tried HDFC Bank, it didn't worked
I tried Kotak Bank, "finally that worked".
So my only advice is first keep the details correct and iterate each
and every card you can try, hopefully one card will be accepted
From my experience this is happening because the bank card doesn't support Automatic payment option which is required for auto renewal. If a card with Automatic payment option is provided, the payment will go through.
When I got a card from my bank with Auto payment enabled, it worked for me. The issue started with RBI's (Reserve Bank of India) restriction on Merchants storing customer card details.

How to use test cards for squareup merchant

I'm currently integrating Squareup APIs for a project. We have a developer account and a merchant account. When I try to test the integration and test payment using Squareup payment form I am getting this error.
{"errors":[{"category":"PAYMENT_METHOD_ERROR","code":"INVALID_CARD","detail":"Invalid card number."}
When I try to use merchant terminal to charge, i'm getting card invalid error page.
Test cards. https://docs.connect.squareup.com/testing/test-values
How can I test credit card processing with test cards?
The way to view sandbox transactions is to call the ListTransactions endpoint with your sandbox credentials to get a sandbox transaction report. Only live transactions will be visible on your Square Dashboard.
To test the full extent of our APIs you'll need to test in production. While there’s not currently a way to delete test transactions, you can definitely process a refund instead. It won’t remove the transactions from your history, but refunding the transaction will balance your books. If you’re not familiar with processing refunds, visit our Support Center for step-by-step instructions.
We're constantly working on adding more features to sandbox. I'll be sure to share your thoughts with the appropriate teams.

Testing successful payment from Google Pay with Paysafe?

So, I'm using Paysafe as my payment processor, and they only allow certain card numbers for testing successful transactions. I cannot add these card numbers to my Google account (I get an error that tells me to correct the card number), so it seems that I can't test successful transactions with Google Pay/Paysafe?
When Google Pay is in TEST environment, they say they don't charge cards (even if it's a real card). So would I have to put Paysafe into it's production environment to be able to test a successful transaction with Google Pay, or has anyone gotten around this?
When I send the token from Google Pay to the Paysafe TEST environment, I get this error:
Either the payment token is invalid or the corresponding profile or credit card is not active
But I know I'm getting the right token and sending it properly (since it's a test environment the token is always the same though), so I figure since the Google Pay TEST token card number isn't one of the accepted Paysafe testing card numbers, I'll have to put Paysafe into production and then test Google Pay? Again, if anyone has found a way around this, it would be greatly appreciated.

Braintree and credit card payment from mobile app

I am working on an app that requires payment to be collected from customers. I have few questions related to braintree integration with my app. I am actually struggling a bit with the workings of the braintree so thought of checking here.
The PCI compliance is critical so i do not want to store anything in my app or the backend server. Can I achieve this with braintree? I also don’t want customer to retype the credit card information when they come back to the app. As I understand there is a Vault functionality which can do this but I was not sure.
Do I invoke the braintree API from iOS app directly or do I need to first send the credit card information to my backend layer and then invoke the Braintree APIs from backend. I don’t want to transmit anything to my server due to the PCI compliance so I am hoping that I can just invoke the braintree API directly from the iOS APP and when user comes back, again invoke the braintree Vault API from the APP and pull the previously used credit card.
appreciate if anyone can pls. direct me to some kind of architecture / white paper/best practice on this. I went thru the APIs document on braintree site which provides and good API documents but i could not find the high level architecture document on this.
Thanks in advance..
Yes. https://articles.braintreepayments.com/control-panel/vault/overview
Yes use from iOS. https://developers.braintreepayments.com/ios+ruby/start/hello-client
for number three... I'm not sure where to find that. Definitely ask support

Resources