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

Support for Payment Intents API when using Payment Request Button #26

Open
bevbomb opened this issue Jan 13, 2020 · 0 comments
Open

Support for Payment Intents API when using Payment Request Button #26

bevbomb opened this issue Jan 13, 2020 · 0 comments

Comments

@bevbomb
Copy link

bevbomb commented Jan 13, 2020

According to stripes API, we should be able to use either a token for charges or payment method for payment intent but when using the token provided from the payment request button I receive the following:
This Source cannot be managed directly. Instead, perform the attempted operation on its managing PaymentMethod, pm_xxxxxxxxxxxxx.

So I proceeded to try and use the payment intents version but this does not work as the stripe service forces the requirement of an element and the request payments button doesn't expose those elements.

https://stripe.com/docs/stripe-js/elements/payment-request-button#complete-payment-intents

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

1 participant