Developer Portal

3.1 Step One: Queue Transaction

Before presenting the page with the Apple Pay button, you will send PaywayWS a request to queue a payment. This request will return a paywayRequestToken that will be sent to the browser and used to complete the payment. The transaction token is like a PaywayWS session token except that it can be used only to interact with the queued transaction. This allows us to send to the browser this transaction token without concern for hijacking a Payway session. The queued payment includes the payment amount, source id, and payment type. Once this step is completed the Apple Pay button can be displayed on your page. See the PaywayWS integration guide and the sample application for more on sending the queue payment request. Note you should not send a paywaySessionToken to the web site; this can be accessed by the user and used for unauthorized transactions.

Subscribe

Every post in your inbox