...
On this link you can generate token Google token generator
Gateway ID: netvalve
Gateway Merchant ID: merchant id, netvalve merchant id or site id. If you don’t have this information contact Netvalve support.
For testing with Google test cards you should join the test group on this link Test with sample credit cards
Click on apply, then go to the next section and click on the Buy with G Pay button
Choose the payment method and click Continue
As a response, Google will provide the
PaymentData
item, where in thepaymentMethodData.tokenizationData.token
field will include encrypted Google Pay Token (a string of characters).Sample Google Pay Token
Code Block { "signature": "MEUCIQDY3wBQyHB4sZcktRoJXKxm+OLcjHzCvdDeGn23oX0kkwIgKznRFZZL+sDMv1b5cuD+YurXMZraYBsr9hbravVY5Ro\u003d", "protocolVersion": "ECv1", "signedMessage": "{\"encryptedMessage\":\"cI87tLqzqTGyCFnMMCVWcTHw3xhYIK+CEnuQ74K+nlLpCgOlfpScib9jds4sxDtN6CunCqCSMfd/3yHeeRy6aCx1yyqcT4ey6NueeBznprJpkmVVgI1JHWLQt4hzAXMUAcYASYLOabKP9fUZvHkOBDytD531jpzNXa+Spc/zrpGzFKx2C4VU9sC95q9i+ey+kr7ZMNVCOFJPWXu7lKZ105IOOqozJ6/70MKmxP3jM89eeq+/19QnyHjQLXfnQPvQjiUJKGCcRKDLlrb3XoY5ZUUzGfN5eZCLzCVg0hWEbwU+6J7KWYJyW+Wr1r8bagN9zWsrMKhDpsQbHfyzb+yBzFUoxeUgL4a7FeVvEllIcHtqsvTCf6FENV20aF5VLDv5qzUkV+PzTAIbFEuabA0God9UbVCVVv7nM8QFzvRPhzYYFVFTn4JHvL2qZ4pAR9lE+w\\u003d\\u003d\",\"ephemeralPublicKey\":\"BPHLC4sBHpenY1M0ixmiDMuWJTaTJOqggRUwtgBJMcBp28VsxHD7zPI7985x4F5EjMP5y8j/cuUzbe/cGPjOKGk\\u003d\",\"tag\":\"RaXrPOUuc5iw3oxDa0C2MOjaKxgxIRQvwOspmtFV0zU\\u003d\"}" }
Copy the token for the Token section
Example of sample payload:
Code Block |
---|
{ "amount": 999.00, "cardHolderName": "Yogesh", "clientOrderId": {{clientOrderId}}, "currency": "USD", "customerAddress": "Skopje", "customerCity": "Skopje", "customerCountryCode": "US", "customerEmail": "yogesh@dahe.com", "customerIp": "123.123.123.123", "customerName": "Yogesh", "customerLastName": "Dahe", "customerPhone": "+3123123112312", "customerState": "Mkd", "customerZipCode": "1000", "netvalveMidId": 2, //Please use your netvalve mid id or site id "paymentType": "WALLET", "walletType": "GOOGLE_PAY", "googlePaySSL": //Add you Google token here... } |
...