Appearance
Google Pay™
Google Pay lets cardholders pay merchants with their credit and debit cards which are securely stored in the cardholder's Chrome web browser or Android device.
As a supported payment service provider with the Google Pay API, PayNetWorx facilitates a merchant's use of the Google Pay API, where PayNetWorx handles all decryption the merchant's behalf.
Prerequisites
Before starting integration, ensure the following have been completed:
- An active PayNetWorx merchant account Payment API with an ECommerce authentication token with Google Pay permissions
- A valid Google Pay Account
- Acceptance of the Google Pay API Terms of Service and the Google Pay and Wallet API's Acceptable Use Policy.
Workflow
mermaid
---
title: Google Pay Workflow
---
sequenceDiagram
accTitle: Google Pay Workflow Diagram
accDescr {
This diagram displays the sequence of events a customer will follow to make a payment using the Google Pay button.
}
participant Customer
participant Merchant Payment Page
participant Google Pay
box Purple
participant PayNetWorx
end
Customer->>Merchant Payment Page: 1. Customer clicks Google Pay button
Google Pay->>Customer: 2. Google Wallet shown to Customer
Customer->>Google Pay: 3. Customer selects card
Google Pay->>Merchant Payment Page: 4. Merchant receives paymentData with token
Merchant Payment Page->>PayNetWorx: 5. Payment submitted with token
PayNetWorx->>Merchant Payment Page: 6. Payment response
Merchant Payment Page->>Customer: 7. Merchant updates customerGoogle Pay Workflow
- Customer clicks the Google Pay button on merchant payment page.
- Google's payment popup displays cards saved to their Google wallet.
- Customer select their desired card.
- Google returns an encrypted
PaymentDatatoken to merchant payment page. - Merchant server adds the encrypted token to a payment request that is sent the PayNetWorx's Payments API.
- PayNetWorx decrypts, authorizes, and returns a payment result.
- Merchant updates customer payment page with final result.
References
Web
- Google Pay Web Developer Documentation
- Google Pay Web Integration Checklist
- Google Pay Web Brand Guidelines
