Developer Portal

11.1 Step 1: Queue Transaction

Before presenting the page with the Google Pay button, you will send PaywayWS a queueSale or queueAuthorize request. This request will return a paywayRequestToken that will be used to complete the request.

The purpose of this request is to avoid sending transaction information to the browser that can be manipulated by the user. The queued payment includes the payment amount, source id, and payment type. Once this step is completed, the Google Pay button can be displayed on your page. Note you should not send a paywaySessionToken to the web site, this can be accessed by the user and used for unauthorized transactions.



Every post in your inbox