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

EU Strong Customer Authentication support integration #45

Closed
marayfirth opened this issue Mar 19, 2019 · 2 comments
Closed

EU Strong Customer Authentication support integration #45

marayfirth opened this issue Mar 19, 2019 · 2 comments

Comments

@marayfirth
Copy link

With the upcoming PSD2 regulation for Europe market, Stripe is adding more features like PaymentIntents. It would be nice to support it before the law goes live and many payments get refused.
More info here: https://stripe.com/payments/strong-customer-authentication

@RobertGardner
Copy link
Collaborator

I looked at this and it appears Stripe doesn't have their mobile SDKs ready for this, based on this comment in their PaymentIntents section:

With the iOS and Android PaymentIntents integrations, you can open the redirect URL in a native browser or in-app web view so the customer can complete authentication. In the coming months, we’ll also offer a native, customizable 3D Secure integration with our mobile SDKs.

Also, I couldn't find instructions on how the mobile "Standard Integration" should be updated (if at all) to support PaymentIntents. The "Custom Integration" this plugin supports only collects credit card tokens and leaves the payment implementation up to the developer, so in that case there is nothing we'd be able to do to help with this migration.

If you have more information and would like to propose specific changes to the plugin to support Strong Customer Authentication, we'd be happy to review your Pull Requests. :-)

@sebj54
Copy link

sebj54 commented Mar 29, 2019

Hi there!

As a EU developer, I'm concerned about the Strong Customer Authentication too.

I read the docs about PaymentIntents (https://stripe.com/docs/payments/payment-intents/migration) and it seems that this plugin should at least create a PaymentIntentParams with a Source: https://stripe.com/docs/payments/payment-intents/android#handle-card-payment.

This is necessary to use PaymentIntents with a credit card form (to confirm the payment intent).

According to the documentation, SDKs are ready for 3D Secure. Only the redirect is up to the developer (https://stripe.com/docs/payments/payment-intents/android#handle-authentication). They will update their SDKs to handle the redirection in the SDK.

Since it is a NativeScript plugin, couldn't we show the redirect page in a WebView?

Thanks for your help on this, I'm new to the world of NativeScript so pardon me if I missed anything!

RobertGardner added a commit that referenced this issue Apr 30, 2019
Add a section on Strong Customer Authentication. (#45)
RobertGardner added a commit that referenced this issue May 1, 2019
* Fix: config.createCardSources not sent to SDK

* Add PaymentIntent objects. (#45)

* Implement some PaymentIntent methods. (#45)

* Create PaymentMethod in CCView.
Note: Crashes on Android because executing on UI Thread.
Fixing requires using AsyncTask,
which probably needs to be implemented by Stripe.
It appears the Stripe Android Intents implementation is still ongoing.

* Update README.
Add a section on Strong Customer Authentication. (#45)

* chore(): bump to 5.3.0

* Fix typo in CHANGELOG
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