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

Choose the payment method #130

Closed
loicparent opened this issue Dec 9, 2021 · 4 comments
Closed

Choose the payment method #130

loicparent opened this issue Dec 9, 2021 · 4 comments

Comments

@loicparent
Copy link

Hello,

I arrive to process the payment using ApplePay - GooglePay - PaymentSheet.
I just have to detect the device and then select the payment method adapted.

When I look at the website of Stripe, I see that the payment screen let the user choose between the "native" payment (e.g. ApplePay) or the Cart Payment:
stripe_payment_screen

So I was wondering if there is a way to do the same thing using this plugin.
I know I can show the buttons by myself but this would be outside the payment modal and so this add one more step in the payment process. Therefore, I would prefer if this is include in the Stripe Plugin.

Could you tell me if this is possible at the moment using this plugin?

Thanks and have a nice day!
Loïc

@rdlabo
Copy link
Member

rdlabo commented Dec 9, 2021

May be enable: https://github.com/capacitor-community/stripe/blob/master/src/shared/index.ts#L34-L69

But due to the addition of the button, this feature has not been fully tested. try it. Thanks.

@loicparent
Copy link
Author

Thanks for you reply @rdlabo!

I will look over this.

Regards

@rdlabo
Copy link
Member

rdlabo commented Jan 19, 2022

@loicparent Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022.
#145
Thanks.

@loicparent
Copy link
Author

Hello @rdlabo,

For the moment, we are working on setting up the payment system using this plugin but this is not yet finished and so this is not currently on production.

I will add a comment in the discussion "What App Use Stripe Plugin?" if/when the changes go on production 😉

FYI the app is Totemus
💻 https://totemus.be
🍎 https://apps.apple.com/fr/app/totemus/id1496178920
🤖 https://play.google.com/store/apps/details?id=be.noomia.totemus&hl=fr&gl=US

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