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

Separate the fields to be used in a customized UI. #414

Closed
cerezagroup opened this issue Jul 12, 2021 · 5 comments
Closed

Separate the fields to be used in a customized UI. #414

cerezagroup opened this issue Jul 12, 2021 · 5 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@cerezagroup
Copy link

cerezagroup commented Jul 12, 2021

From what I've seen now you can only use the component to enter the card information.
Is there a way to separate the fields of the card? by way of using them a personalized interface of the card input.

I have not found the solution in the current version,

you could put the fields manually at the end when the payment is to be confirmed,

something like:

confirmPayment: (paymentIntentClientSecret, {
card_number,
card_expiry,
card_cvc,
}, options ?: Options)

like the following video whose solution is for React and not for React Native apparently ;
https://www.youtube.com/watch?v=gW8b0Y6Ae8o&ab_channel=StripeDevelopers

I would appreciate if someone can give me information if this functionality is already implemented,

Thank you so much.

@cerezagroup
Copy link
Author

Apparently, that for security reasons is not recommended, due to the issue of data sensitivity,

Someone to get me out of doubt?

@trex-quo

This comment has been minimized.

@cerezagroup

This comment has been minimized.

@cerezagroup
Copy link
Author

cerezagroup commented Jul 13, 2021

@trex-quo clarify something for me please. I do not know if your comment is on track with the following:

I need set the fields, separately , i have an inteface like bellow,

Captura de pantalla 2021-07-12 192409

and the only option that I think stripe provides for me to enter the card data is the one they have by default:

Captura de pantalla 2021-07-12 192727

NOTE: I am currently using a library called react-native-stripe-payments, and it uses an old version of the android sdk (14.2.1), which Google Play rejects for reasons of privacy policies and data sensitivity ( as I mentioned before) and suggests updating to a version higher or equal to (16.9.0), which has controlled that sensitivity of the data. The problem is described in this issue.

I wouldn't be telling you all of this, if I weren't considering using @stripe /stripe-react-native library, which is obvious, it will feature much more support.

But if you realize the problem, on the one hand and on the other, lies in that sensitivity in the data, and I am stuck on both sides.

Then,

  1. Will I have to worry about not being able to use a custom interface and use the default interface that @stripe /stripe-react-native brings?
  2. Or is it better to wait for the @stripe /stripe-react-native library to stabilize a bit more?

Thank you.

@thorsten-stripe
Copy link
Contributor

Custom card input fields are not supported due to PCI compliance requirements: https://stripe.com/docs/security/guide#validating-pci-compliance

Work on split fields is tracked here: #83

@thorsten-stripe thorsten-stripe added duplicate This issue or pull request already exists question Further information is requested labels Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants