
PAN_ONLY and CRYPTOGRAM_3DS authentication methods are supported for Google Pay.
PAN_ONLY- the card is stored on file within your customer’s Google Account and not bound to an Android device.CRYPTOGRAM_3DS- the payment credentials are bound to an Android device.
payment_method.method describes how the buyer paid, while
payment_method.scheme holds the brand of the underlying card, for example amex. Depending on
the card, Google Pay returns either a device token with a cryptogram or the card’s own number
without a cryptogram. Google calls these CRYPTOGRAM_3DS and PAN_ONLY. A CRYPTOGRAM_3DS payment
has a method of googlepay, and a PAN_ONLY payment has a method of googlepay_pan_only. The system
passes either kind to your card connection, and the connection and issuer can treat them differently.
Web (Embed)
On the web, Google Pay can be easily integrated both with and without Embed. In both offerings, the need to sign up for a Google Developer account has been removed, reducing additional financial and maintenance costs.Mobile (Android)
On Android, Google Pay can be easily integrated both with and without the SDK. In both offerings, the need to sign up for a Google Developer account has been removed, reducing additional financial and maintenance costs.3-D Secure
Google Pay can return two kinds of credentials:- A device token (
CRYPTOGRAM_3DS), which carries a cryptogram. Gr4vy doesn’t run 3-D Secure for these. - A card saved in the buyer’s Google Account (
PAN_ONLY), which is common on the web. Gr4vy processes these like any other card, so 3-D Secure can apply when it’s turned on for the connection.
buyer_approval_pending. Send the buyer to
the payment_method.approval_url, even if no challenge is shown, and include a redirect_url when you
create the transaction. If the buyer isn’t sent to the approval URL, the transaction fails when the
approval expires. Embed handles this for you. For integrations without Embed, see
handle a redirect.
Recurring payments
This is in limited release and is being made generally available soon.
- Take the first payment with the Google Pay token and
store: true, withmerchant_initiatedandis_subsequent_paymentset tofalseand apayment_sourcesuch asrecurring. This stores the Google Pay payment method. - Charge later payments with the stored payment method
id, the samepayment_source, andmerchant_initiatedandis_subsequent_paymentset totrue.