From c181e2ccb113a5699d1d6c9b1a7167dd37da789c Mon Sep 17 00:00:00 2001 From: mattsaxon Date: Fri, 29 Apr 2016 18:07:47 +0100 Subject: [PATCH 1/2] Added Basic API flow diagram --- specs/paymentrequest.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 22007267..3754038e 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -1274,6 +1274,15 @@

Exposing user information

+
+

Payment Request Flow

+

The following represent the flow for all the Payment Request API it might be used by a website

+

The blue call-outs show where and how the API is invoked.

+ +
+ +
+
The references in the spec need to be up-to-date. From dca109207b46c55792ad603f59b801eabe7e4624 Mon Sep 17 00:00:00 2001 From: mattsaxon Date: Fri, 6 May 2016 19:51:11 +0100 Subject: [PATCH 2/2] Reworded based on Ian's feedback --- specs/paymentrequest.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index 3754038e..3090c37a 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -1276,9 +1276,8 @@

Exposing user information

Payment Request Flow

-

The following represent the flow for all the Payment Request API it might be used by a website

-

The blue call-outs show where and how the API is invoked.

- +

This diagram illustrates the flow of information for a typical card payment. The aqua coloured boxes highlight where paymentRequest API calls occur into the flow. The Web Payments Working Group has information about more payment flows.

+