W3C home > Mailing lists > Public > public-payments-wg@w3.org > December 2015

[paymentrequest] First set of API refactoring changes. (#26)

From: Ade Bateman <notifications@github.com>
Date: Wed, 09 Dec 2015 08:56:09 -0800
To: WICG/paymentrequest <paymentrequest@noreply.github.com>
Message-ID: <WICG/paymentrequest/pull/26@github.com>
This pull request includes refactoring of the API to simplify payment request code (for example, by removing the double promise call). It also addresses important comments made in issues #15, #18, and #23.

This is the first in a set of refactoring changes to incorporate feedback we have received.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Refactor the API to eliminate the double promises.
  * Added code example for constructing PaymentRequest.
  * Rename PaymentInstruction to PaymentResponse
  * Add complete and abort methods to PaymentRequest.
  * Add state transition model and attribute.
  * Added headings for the PaymentRequest interface elements.
  * Add a CurrencyAmount dictionary.
  * Added more information about the proposed delegated state.
  * Delete note about issue #15.

-- File Changes --

    M specs/paymentrequest.html (479)
    A specs/state-transitions.svg (98)

-- Patch Links --


Reply to this email directly or view it on GitHub:
Received on Wednesday, 9 December 2015 16:56:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:12 UTC