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

Stripe Tokens API vs Stripe PaymentMethods API? #263

Open
calebhubbs opened this issue May 15, 2024 · 2 comments
Open

Stripe Tokens API vs Stripe PaymentMethods API? #263

calebhubbs opened this issue May 15, 2024 · 2 comments

Comments

@calebhubbs
Copy link

In our current integration when we use the Pay flutter-plugin, we are receiving back on object from the Stripe Tokens API. Does this plugin support using the Stripe PaymentMethods API to get a PaymentMethod object?

@JlUgia
Copy link
Member

JlUgia commented Jul 30, 2024

Hello @calebhubbs, the pay plugin is agnostic from the payment processor, or in other words, once the token is received you can use it with either API. If you have a deeper integration with Stripe, take a look at their Flutter plugin, which integrates seamlessly with this plugin. Otherwise, the pay plugin lets you propose a common implementation for multiple types of integration.

/cc @jamesblasco @remonh87

@remonh87
Copy link

you can also see an example implementation here.

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