Polymer / shop

The Shop app
https://shop.polymer-project.org/
986 stars 494 forks source link

[enhancement]Using Payment Request API #159

Closed chwzr closed 5 years ago

chwzr commented 6 years ago

Maybe providing two Buttons on the products page: one which adds to cart (normal checkout process) and one which says "buy instant"... and then trigger the payment request api with that to direct buy one element.

mtsmachado8 commented 5 years ago

Yes!! Couldnt find the src of payment request with polymer shop(showed in Chrome Dev Summit). If someone knows post link please.

keanulee commented 5 years ago

Maybe it's this fork? https://github.com/agektmr/shop/ (not maintained by the Polymer team)

There's also the credential-payment-api branch on this repo, though that branch isn't kept up to date.

mtsmachado8 commented 5 years ago

That one!! Thanks 😁

keanulee commented 5 years ago

Closing - not interested in having these changes in the main master branch, but will keep the credential-payment-api branch around so users can see the changes required (see my opinion at https://github.com/Polymer/shop/pull/91#issuecomment-331957032).