[w3c/webpayments-payment-apps-api] Simplify Example 3 as per issue #82 (#101)

This change removes all of the HTTP Post functionality from Example 3,
since this appears to cause more confusion than clarification. There are
also some issues with this code:

  https://github.com/w3c/webpayments-payment-apps-api/issues/82#issuecomment-275976677

The remaining code is updated to use promises correctly, to unregister
from the 'message' event correctly, and to make correct use of the
basic-card specification.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/webpayments-payment-apps-api/pull/101

-- Commit Summary --

  * Simplify Example 3 as per issue #82

-- File Changes --

    M index.html (91)

-- Patch Links --

https://github.com/w3c/webpayments-payment-apps-api/pull/101.patch
https://github.com/w3c/webpayments-payment-apps-api/pull/101.diff

-- 
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/webpayments-payment-apps-api/pull/101

Received on Friday, 3 February 2017 09:46:32 UTC