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

Request Integration of Google Pay API #218

Open
Anid4u2c opened this issue Mar 3, 2019 · 1 comment
Open

Request Integration of Google Pay API #218

Anid4u2c opened this issue Mar 3, 2019 · 1 comment

Comments

@Anid4u2c
Copy link

Anid4u2c commented Mar 3, 2019

I've been working all day (and a few hours yesterday) on how to best implement the Google Pay Web API into my PWA. I was able to implement Google Authentication, using PolymerLabs/books/src/actions/auth.js as a template to authenticate a user.

Unlike the Google Pay API's new PaymentsClient(paymentOptions) method, the books implementation return is of type goog.Thenable. As such, I haven't been able to implement it using Redux... would the Polymer team consider adding this?

There is an older (working) integration build with Polymer 1.0, with no repo: https://polykart-credential-payment.appspot.com.

I did see this (closed) issue: #159 and subsequent comment... since online shopping is such a huge component of the web, it seems pertinent to implement Google's Pay API into the Shop's goals... especially since the API allows for testing (no credentials needed), and no additional dev dependencies.

@Anid4u2c Anid4u2c changed the title Request Request Integration of Google Pay API Mar 3, 2019
@ncouture
Copy link

@Anid4u2c https://github.com/google-pay/shop-paydemo integrates Google Pay in Polymer shop 3.0.0.

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

2 participants