stripe-react-native
stripe-react-native copied to clipboard
add dangerouslyGetFullCardDetails capability to PaymentSheet
Is your feature request related to a problem? Please describe.
Hi there, we have a similar use case to these issues:
- https://github.com/stripe/stripe-react-native/issues/280
- https://github.com/stripe/stripe-react-native/issues/903
where we would like to use the user's payment details for two transactions without needing the user to re-enter them. However we currently use the PaymentSheet component, and would like to keep doing so. Is there any way to get the card details from the PaymentSheet?
Describe the solution you'd like
A param dangerouslyGetFullCardDetails could be added to PaymentSheet.SetupParams, which perhaps could only be true if customFlow is also true. Then the card details could be returned inside the PresentPaymentSheetResult.
Describe alternatives you've considered
We could migrate our payment flow to the CardForm for example, but would like to avoid that if possible.
Bump on this, wondering if this is possible! Thanks @charliecruzan-stripe