W3C home > Mailing lists > Public > public-payments-wg@w3.org > April 2016

[w3c/webpayments] How can a Web Based Payment App cancel the payment flow? (#128)

From: Tommy Thorsen <notifications@github.com>
Date: Tue, 26 Apr 2016 00:46:10 -0700
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/128@github.com>
I've experimented a bit with implementing a web based payment app, by making a simple web app that encapsulates a Visa Checkout flow ([as described here](https://arch.developer.visa.com/vme/merchant/documents/Getting_Started_With_Visa_Checkout/Quick_Start_Tutorial.html)). The Visa Checkout flow consists of a series of pages, which all have an X in the upper right corner for canceling out of the flow. See screenshot:


If the user presses that X, I need to send a "cancel" message back to the user agent, so that it can close the browser window and return to a suitable step in the web payments flow.

What would be the best way of doing this? A separate javascript api? Or calling submitPaymentResponse with a response that indicates an error/cancellation? Or Ballista IPC as mentioned in the issue box under payment-apps:

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
Received on Tuesday, 26 April 2016 07:46:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:16 UTC