[w3c/payment-handler] Indicate to the payment handler whether the user agent showed payment sheet? (#250)

Some background: On the one hand, In Chrome we sometimes skip the payment sheet and go directly to the payment app when a number of conditions are met, some of which are, for example:

1. Not requesting shipping or contact info.
2. A single payment method name.
3. URL-based payment method name.

On the other hand, I've seen PayPal skip their flow for one of my purchases today, because I explicitly enabled this option in my settings. I stayed on the merchant website throughout the purchase.

Now, the interesting point: a payment handler may want to either skip or show their own flow based in part on whether the user agent showed or skipped its payment sheet.

Therefore, my question: _Would it be useful for the user agent to indicate to the payment handler whether the payment sheet was skipped?_

cc: @anthonyvd @gogerald @DurgaTheHutt

-- 
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/payment-handler/issues/250

Received on Monday, 26 February 2018 17:43:52 UTC