Documentation Index
Fetch the complete documentation index at: https://waffo.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Google Pay allows users to complete payments quickly using credit or debit cards saved in their Google account, simplifying checkout and improving conversion rates.Payment flow
Initiate a Google Pay request
The merchant initiates a request via the Google Pay Web API / Android SDK.
User selects a payment method
The user selects a payment method, and Google returns an encrypted token.
Prerequisites
- Waffo account setup completed
- Obtain
gatewayMerchantIdfrom Waffo TAM (use"googletest"for sandbox)
Step 1: Google frontend integration
Web integration
Refer to the Google Pay Web documentation and configuretokenizationSpecification:
Android integration
Refer to the Google Pay Android documentation.Notes
- Supported payment type:
CARD - Supported card networks:
VISA,MASTERCARD,AMEX,DISCOVER - Authentication method:
PAN_ONLY - Required fields:
name,address,phone,email
Step 2: Waffo backend integration
Send the token returned by Google Pay to Waffo via/api/v1/order/create:
paymentTokenData must be a JSON object, not a string.Web SDK integration
Integrate Google Pay via the Waffo Web SDKcreatePayment() method:
3DS flow control
Use thegooglePay3Dflow parameter to control 3D Secure authentication:
enable(default): Enable 3DS authenticationdisable: Skip 3DS (contact Waffo for configuration first)
Go-live checklist
- Apply for Google Production Access
- Update the Google integration configuration for the production environment
- Replace
gatewayMerchantIdwith the production value provided by Waffo TAM - Contact Waffo TAM to confirm the configuration is correct
Google Pay built into the checkout
If you do not need a custom integration, you can contact Waffo to enable Google Pay in the checkout:- Provide the website domain that will process Google Pay
- Provide the merchant ID to enable
- After configuration is complete, the Google Pay button will be displayed automatically on the checkout page
In the built-in checkout mode, 3DS transactions must comply with SCA requirements. If applicable, contact Waffo to enable 3DS.