Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working example/demo Web Payment App #336

Closed
richardPAG opened this issue Mar 20, 2019 · 8 comments
Closed

Working example/demo Web Payment App #336

richardPAG opened this issue Mar 20, 2019 · 8 comments

Comments

@richardPAG
Copy link

Just wondering if a working version of the Web Payments example App is anywhere?

I think the spec has evolved to change Supported Instruments from an array to a string?

Also not sure if there is another client that invokes the Alipay logic?

@ianbjacobs
Copy link
Contributor

@richardPAG, is this what you are looking for?
https://bobpay.xyz/

@richardPAG
Copy link
Author

@ianbjacobs Maybe I need a user's guide but what does it do apart from (un)register a service worker?

Something to buy? A "Buy" button?

@ianbjacobs
Copy link
Contributor

The payment handler demo just illustrates the registration and launch procedures, and allows you to return some fictitious payment method data from a fictitious account.

@rsolomakhin
Copy link
Collaborator

@richardPAG : You may be able to run the Google Pay payment handler at https://rsolomakhin.github.io/pr/gp/ .

@richardPAG
Copy link
Author

richardPAG commented Mar 21, 2019

Cool! Thanks @rsolomakhin . Where can I find the source code for that?

PS. You might want to have someone update the links here.

@ianbjacobs
Copy link
Contributor

@richardPAG, good suggestion.

On the WG home page there is a link to code examples [1]. That page already linked to MDN and I've added a link there to Rouslan's examples.

Ian

[1] https://github.com/w3c/payment-request-info/wiki/CodeExamples

@rsolomakhin
Copy link
Collaborator

Where can I find the source code for that?

Follow the breadcrumbs of curl --head https://google.com/pay according to steps in https://w3c.github.io/payment-method-manifest/#fetch-pmm

@richardPAG
Copy link
Author

Good stuff! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants