availability

Google Pay is currently available with our latest Android and JavaScript SDKs.

Creating transactions

Include the Google Pay nonce in the Transaction.sale() call on your server:

Python
Copy
Copied
result = gateway.transaction.sale({
    "amount": "10.00",
    "payment_method_nonce": nonce_from_the_client,
    "options": {
      "submit_for_settlement": True
    },
    "billing": {
      "postal_code": postal_code_from_the_client
    }
})
This code snippet now uses gateway instance methods instead of class-level methods. Learn more.
note

Google Pay cards are represented as Android Pay cards in our API to prevent breaking changes. For example, the response from a PaymentMethod.create() call will include the AndroidPayCard response object.

Vaulting Google Pay

Google Pay cards can only be saved to your Vault for specific use cases; see the support article for details.

If your use case is supported, you can store a customer's Google Pay card in your Vault in a few different ways:

Next Page: Testing and Go Live →

Still have questions?

If you can’t find an answer, contact us