Re: [w3c/payment-method-basic-card] add: User changes payment method section (#53)

marcoscaceres commented on this pull request.



> +          apply instead (without the need to run these steps).
+        </p>
+        <ol>
+          <li>From the <a>supported cards</a> presented to the end user, let
+          <var>card</var> be the <a>card</a> the user selected.
+          </li>
+          <li>Let <var>methodDetails</var> be a newly created
+          <a>BasicCardChangeDetails</a> dictionary.
+          </li>
+          <li>Set <var>methodDetails</var>["<a>type</a>"] to the
+          <a>BasicCardType</a> that represents <var>card</var>'s <a>type</a>.
+          </li>
+          <li>Run the payment request's <a data-cite=
+          "!payment-request#dfn-payment-method-changed-algorithm">payment
+          method changed algorithm</a> with <var>methodDetails</var> and
+          "basic-card".

Updated https://github.com/w3c/payment-request/pull/695 to take the second argument. 

-- 
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-method-basic-card/pull/53#discussion_r188899214

Received on Thursday, 17 May 2018 09:46:50 UTC