Google Pay™
You can accept payments through Google Pay™ via Checkout (Hosted Payments Page - HPP) or via eComm API.
Hosted checkout integration
Follow the guide here for integrating Hosted Checkout with Google Pay as a payment option.
Server-to-Server integration
This guide covers a two-part integration: (1) a client-side Google Pay button that collects an encrypted payment token, and (2) a server-side call to Verifone eCommerce API to process it.
Follow the integration steps below to process transactions via Verifone eComm API.
Required fields
payment_provider_contract
Find it in Verifone Central -> Administration -> Payment Provider Contracts. Copy the Payment Provider Contract ID.
amount
Amount of the transaction
merchant_reference
Unique UUID you generate and can link the transaction to when the customer returns
currency_code
More on the all currencies supported here: Verifone eCommerce API
wallet_type
string Enum: "GOOGLE_PAY"
wallet_payload
object
The encrypted payload object provided by the Wallet on the frontend
A Google Pay web integration consists of implementing both client-side and server-side components. You will need to implement the following:
Configure the Verifone payment gateway ID and your merchant ID to initialize the Google pay client.
Use the Google Pay token to make a wallet transaction API call and complete the session based on the response
Verifone eCommerce API
Code sample
Last updated
Was this helpful?
