Intent to Implement: PaymentComplete result "unknown"

21 views
Skip to first unread message

Rouslan Solomakhin

unread,
Dec 1, 2016, 10:02:58 AM12/1/16
to blink-dev, hs121...@samsung.com
Contact emails

Spec

Summary
Replace the PaymentComplete enum value "" with the more descriptive "unknown".

Motivation
The merchant can call PaymentResult.complete("unknown") to indicate that transaction result is not known yet, but the user is free to leave the website. A merchant typically will notify the user by email about the final result of processing the transaction.

Interoperability and Compatibility Risk
Low

Ongoing technical constraints
None

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No. The feature alters PaymentRequest API, which is currently shipped on Android with ongoing work to ship on all other platforms, except Android WebView. The latter is out of scope because PaymentRequest requires UI. 

OWP launch tracking bug

Link to entry on the feature dashboard

Requesting approval to ship?
No

Rouslan Solomakhin

unread,
Dec 1, 2016, 3:38:36 PM12/1/16
to blink-dev, hs121...@samsung.com
As pointed out here, calling PaymentResult.complete("unknown") and PaymentResult.complete("") is already equivalent, according to the spec. Therefore, this change is imperceptible to the web developer and can be shipped immediately without a runtime flag.
Reply all
Reply to author
Forward
0 new messages