Google Pay ™ Integration
Google Pay ™ provides an easy and secure process for customers to pay merchants. ConnexPay’s Payment SDK provides a simple process for enabling Google Pay functionality and SDK Version 2 already follows Google's Brand Guidelines. ConnexPay supports both Android and Web merchants via our convenient SDK implementation. Click here to visit Google’s documentation on Google Pay for web or here for Android. Google Pay is compatible with Equifax Payments Fraud Risk Detection.
You you must adhere to the Google Pay™ APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.
When a consumer chooses to pay with Google Pay™, the Google Pay™ API initiates a request to Google servers. This request includes the name of the processor along with other parameters. Google uses the processor’s public key to encrypt the response and sends a payment token back and ConnexPay processes the payment with that payment token.
To process a sale using Google Pay via the SDK, simply define the Google Pay element where you want to display the Google Pay button and specify Google Pay to render the button. See the Credit Card Integration section for complete details.
ConnexPay SDK Google Pay Implementation
-
Add ConnexPay's SDK script and CSS link
-
Sandbox:

-
Production:

-
-
Add Google Pay element to the checkout screen

-
Configure the SDK / Google Pay button - this should happen when the checkout page first loads

-
Initialize the Google Pay button

-
Send payment data to the Sales API

Testing
- First, navigate to the following link to join the Google Pay Test Card Suite group: <https://groups.google.com/g/googlepay-test-stub-data>
- When using the sandbox ConnexPay SDK, when the Google Pay modal displays, you will automatically be shown a collection of test cards to choose from.
- Choose a card from the Google Pay modal and click Continue.
CXP Google Pay in Production
Once ConnexPay’s Google Pay SDK has been tested in non-production, your domain and
implementation will need to be approved by Google to be able to run in production. See the link here for more details.
Updated 21 days ago
