Re: [w3c/webpayments-payment-apps-api] How can a Browser-based Payment App cancel the payment flow? (#37)

The current service worker proposal addresses this with:

> The user agent receives a failure response from the payment app through rejection of the Promise. The user agent **MUST** use the rejection reason to reject the Promise that was created by `PaymentRequest.show().` 

I *think* that should d be sufficient for canceling the payment flow, although it's possible I've overlooked something.

-- 
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-payment-apps-api/issues/37#issuecomment-247955073

Received on Monday, 19 September 2016 10:07:33 UTC