Re: [w3c/webpayments] Overview document figure 5 (#171)

> If the payment fails, the flow can't be easily recovered, right?

Ah yes, you're right.

> As I recall, there may be some reason for a "complete" message because of Apple Pay.

That is correct.

> Shouldn't the mediator just pass the payment response right through to merchant site and close?

The way the API is defined today, the merchant website is in control of when the mediator closes (via `complete(string)` method). If the merchant chooses to close the mediator immediately, they are free to call `complete("")` before processing the transaction.

---
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/171#issuecomment-238942687

Received on Wednesday, 10 August 2016 17:35:53 UTC