With Primer's proprietary Google Pay integration, you can begin accepting payments across Web and Android with any card processor in a few simple steps.
Google Pay is not available on iOS applications.
Get started with Google Pay
Before you begin
If this is your first payent method, complete the Process Payment guide to begin processing payments with Primer.
All merchants must adhere to the Google Pay APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.
Configure Card
- 1
Add a card processor to your Dashboard
Go to the Connections section of the Dashboard and look for a card processor such as Stripe, Adyen, Braintree, and many others.
Follow the instructions to connect the processor account to your Primer Dashboard. - 2
Add Google Pay to your Dashboard
Go to the Connections section of the Dashboard and look for Google Pay.
Follow the instructions to connect your Google Pay processor account to your Primer Dashboard. - 3
Activate Google Pay on the Checkout
Go to the Checkout section of the Dashboard and activate the Google Pay payment method. - 4
Configure a Workflow to process payments with Google Pay
Go to the Workflow section and make sure one of your card processors is used to process Google Pay payments.
You need to create a condition to check for the field "Is Network Tokenised". This field will be true if Google Pay returns a cryptogram (i.e. if the transaction was made on a Android Device) and false othwerwise.
This means that if "Is Network Tokenised" is true, the authorise action should have "No 3DS" set
while for "Is Network Tokenised" equal to false, the authorise action should have "Primer 3DS" enabled
Prepare the client session
Google Pay leverages the following parameters to process a payment.
Pass them when creating the client session.
Parameter Name | Required | Description |
---|---|---|
3-letter currency code in ISO 4217 format, e.g. USD for US dollars | ||
Details of the line items of the order | ||
The country in which the order is created |