stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

ability to Update payment details after calling initPaymentSheet

Open minawalphonce opened this issue 9 months ago • 2 comments

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 avatar May 01 '24 17:05 minawalphonce

i have added a PR https://github.com/stripe/stripe-react-native/pull/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

minawalphonce avatar May 04 '24 11:05 minawalphonce

having same issue here, any update?

1majek avatar Sep 13 '24 23:09 1majek