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

ability to Update payment details after calling initPaymentSheet #1652

Open
minawalphonce opened this issue May 1, 2024 · 1 comment
Open

Comments

@minawalphonce
Copy link

Is your feature request related to a problem? Please describe.
there is a need to update payment details "intentConfiguration" block after calling initPaymentSheet. the feature already exists in android and ios SDK but it is not exposed in react native

Describe the solution you'd like
an updatePaymentSheet function that can be exposed in via useStripe hook, which in turn can take the updated options

Additional context
ios docs
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=ios&type=payment#update-payment-details

android docs
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android&type=payment#update-payment-details

@minawalphonce
Copy link
Author

i have added a PR #1653
i dont think it will be merged but it gives some idea of what is needed

it is working for me for now at least

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

1 participant