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

How to use paymentRequestButton? #6

Closed
bageren opened this issue Jun 12, 2019 · 3 comments
Closed

How to use paymentRequestButton? #6

bageren opened this issue Jun 12, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@bageren
Copy link

bageren commented Jun 12, 2019

When I use:

this.elements.create('paymentRequestButton', {
paymentRequest: this.paymentRequest
});

It tells me that paymentRequest does not exist on ElementOptions. So how can I use the payment request button with this library? Thanks.

@paullryan
Copy link
Member

I have not added support for paymentRequest to this library and don't have a timeline for it. However I'm open to a PR.

@paullryan
Copy link
Member

paullryan commented Oct 8, 2019

This is now available in 1.2.0-beta.5 as ngx-payment-request please see the example. Documentation is not complete, however it should be feature complete (based on stripe.js implementation).

@paullryan
Copy link
Member

Documented in README

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

No branches or pull requests

2 participants