diff --git a/index.html b/index.html index 6aba8907..311bbf09 100644 --- a/index.html +++ b/index.html @@ -273,6 +273,11 @@
processingpayment
+ [Constructor(DOMString type, optional PaymentProcessingEventInit eventInitDict)] + interface PaymentProcessingEvent : Event { + }; + + dictionary PaymentProcessingEvent : EventInit { + readonly attribute DOMString appName; + readonly attribute DOMString requestId; + }; ++
+ The appName and requestId provided in PaymentProcessingEvent are in anticipation of + Payment Apps that process payment exposing funnctionality that allows for + querying on the completion status of a payment.
+The PaymentProcessingEvent
enables the payee to store uniquely
+ identifying information such that it is possible to query the selected Payment App
+ about the status of an attempted payment.
It is recommended that the payee persistently store this information for use + in the event of an unexpected failure during payment processing.
+@@ -1301,6 +1334,22 @@
PaymentProcessingEvent
.
+ appName
attribute value of processing event to the identifier
+ for the payment app that the user selected to accept the payment.
+ requestId
attribute value of processing event to the identifier
+ provided by the payment app.
+ PaymentProcessingEvent
event and wait for successful completion of this
+ message. This happens stictly before transfering control to the Payment App
+ for processing.
+ PaymentRequest
object that the user is
interacting with.
@@ -1329,6 +1378,10 @@ methodName
attribute value of response to the payment method identifier
for the payment method that the user selected to accept the payment.
appName
attribute value of response to the payment app identifier
+ for the payment app that the user selected to accept the payment.
+ details
attribute value of response to a JSON-serializable object
containing the payment method specific message used by the merchant to process
@@ -1405,4 +1458,4 @@