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

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

From: Dave Longley <notifications@github.com>
Date: Tue, 26 Apr 2016 06:57:17 -0700
To: w3c/webpayments <webpayments@noreply.github.com>
Cc:
Message-ID: <w3c/webpayments/issues/128/214753546@github.com>
@tommythorsen,

> Or calling submitPaymentResponse with a response that indicates an error/cancellation?

My view is that this is what you should do. Payment Apps are defined as receiving payment requests and sending payment responses in the proposed architecture document -- which keeps their API very simple. So, in this case, you would send a payment response that indicates the error/cancellation. Others may have different opinions.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/128#issuecomment-214753546
Received on Tuesday, 26 April 2016 13:58:10 UTC

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