Post-transaction messages

Most Google Pay for Business partners find that they need to send post-transaction messages. Post-transaction messages are sent after the user has made a payment transaction through your app, website, or collect call using Google Pay. The existing Unified Payments Interface (UPI) transaction ID and Google transaction ID are used to push the message payload to the user.

The following flow is used to send post-transaction messages:

  1. User places an order on your app or website and pays using Google Pay.
  2. Merchant receives Google Pay and UPI confirmation of payment.
  3. Merchant sends the message payload using the Communication API by providing the UPI transaction ID and Google transaction ID.
  4. User receives a notification and your business channel is updated with the payload.

Example: Travel tickets

In this example, a user navigates to any bus ticket booking site, selects a seat, and goes through the payment request checkout flow. After a user clicks Buy and selects Google Pay as payment method, a notification with pay and decline options are displayed in the Google Pay app. After the user makes the payment, the ticket is displayed in the bus booking site and in the Google Pay app.

Google pay Pay with Google pay Bus ticket

The following are screenshots of the notifications for a flight ticket and for a train ticket:

Flight ticket Train ticket

The following are screenshots of the notifications for a hotel reservation and for a delivery receipt:

Hotel reservation Delivery receipt