- Getting Started
- Standalone 3D Secure
- Mobile SDK
- Manage Payments
- ReD Shield
- API Reference
- Result Codes
- Brands Reference
Loading the Google Pay button via PayUnity.Flex payment widget requires two actions:
- Just like any other brand, GOOGLEPAY must be specified as a brand in step 2.
- Specify your merchant ID in
wpwlOptions.googlePay.gatewayMerchantId(Click js tab to see the code example). See the Options section for more information.
Google Pay provides a list of features that can be used via the API Reference.
As with other options, you can modify the Google Pay behavior by using
The full reference of all available options is shown below in this page.
To quick start your integration, we recommend use our example code below as a guidance (Click js tab to see the code example).
The following table lists all available Google Pay options that you can use with
|gatewayMerchantId||Your merchant ID provided by us.||gatewayMerchantId: "8a8294174e0078ad014e1a2781d035a7"|
|allowedAuthMethods||Fields supported to authenticate a card transaction.
||allowedAuthMethods: ["PAN_ONLY", "CRYPTOGRAM_3DS"]|
|allowedCardNetworks||One or more card networks you support also supported by the Google Pay API.:
||allowedCardNetworks: ["AMEX", "DISCOVER", "JCB", "MASTERCARD", "VISA"]|
|merchantId||A Google merchant identifier issued after your website is approved by Google. Required when going Live. See Google Pay's Integration checklist for more information about the approval process and obtaining a Google merchant identifier.||merchantId: "your_merchantId"|
|merchantName||A user-visible merchant name encoded as UTF-8. This name may be shown to the user in the Google Pay payment sheet to describe the merchant requesting payment data.||merchantName: "Example Merchant"|