Testing Google Pay
Testing Against a Real PSPs sandbox
You can test Google PayTM against a real Payment Service Provider (PSP) the same way as regular Google Pay payments. There are no additional merchant configuration changes required; and you can use the PaymentData
JSON in the nonce field when making a payment.
Testing Against a Mock Sandbox
You can use set values in our mock sandbox to test different responses. To get access to our mock sandbox, please get in contact with support.
After you are set up, you can send a payment, using POST /v1/payments, with the amount set to the below values to test the different responses. Google Pay is used as the payment instrument and Nuvei is the PSP - for other PSPs please get in contact with support for more information:
Successful / Approved Payment
Amount: 1000
Response Code: 1000
Response Message: Approved.
Declined Payment
Amount: 4201
Response Code: 4201
Response Message:
Cardholder should contact issuer.
Insufficient Funds
Amount: 4202
Response Code: 4202
Response Message: Insufficient funds.
Card Lost or Stolen
Amount: 4212
Response Code: 4212
Response Message:
Card reported as lost or stolen.
Invalid Currency
Amount: 4264
Response Code: 4264
Response Message:
Currency not supported by PSP.
Updated 17 days ago