#emmanuel - update payment element
1 messages · Page 1 of 1 (latest)
Hello! Just starting a thread for you -- I'll review and respond as soon as I can 🙂
Awesome. Thank you so much
Yes! we recently enabled flows like this with fetchUpdates():
https://stripe.com/docs/js/elements_object/fetch_updates
O. So I would modify the PaymentIntent utilizing the payment_intent_id and stripe.PaymentIntent.modify and then simply call fetchUpdate to update the payment intent
correct!
Awesome. Thank you so much.
One quick question. Just to check is this supported on version 2.6 on python or do I need to update to be able to use this feature @tropic ridge
version 2.6 of what, exactly? fetchUpdates is client side with stripe.js and is independent of any server code
But depending on how old the server SDK/client is you may not even have payment intent support
If you mean stripe-python 2.6 thats ~4 years old
https://github.com/stripe/stripe-python/releases/tag/v2.6.0
PI support was added in 1.84: https://github.com/stripe/stripe-python/blob/v2.6.0/CHANGELOG.md#1840---2018-06-29
but may or may not support all functionality you need
it would depend on exactly what you're trying to do
O I see. I need to look on that. Im on stripe version 2.60 for python and stripe react version 1.4.1. Thanks for the help
NP!