Generating a payment form
- Step 1: Building the form
The Google Pay™ payment method does not require any extra mandatory fields in addition to your current integration.
If you have checked the “Receive Google Pay shipping details” box when configuring your Merchant ID, Google Pay sends to the gateway the shipping details of the buyer’s Google account and the shipping fields submitted via the form are ignored.
- Step 2: Managing the payment methods offered to the buyer
It is possible to customize the payment methods offered to the buyer by using the vads_payment_cards field.
Here are some examples:
Use case Field values vads_payment_cards Offer all the eligible payment methods. missing or empty Offer only the Google Pay payment button. GOOGLEPAY Offer the choice between VISA and Google Pay. VISA;GOOGLEPAY See chapter “Managing the payment methods offered to the buyer” of the Hosted Payment Page guide.