#julio_code

1 messages ยท Page 1 of 1 (latest)

plush flameBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1344365656455381122

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

final comet
#

Hello ๐Ÿ‘‹

What changes are occurring in your app that require updating the googlePay.amount for the Payment Sheet once it is displayed?

stuck raven
#

The amount needs to be updated for both google pay and apple pay,
if the product price changes it requires to be updated on the payment sheet before the user approve the transaction.

final comet
#

How is the product price changing? The design of the PaymentSheet is such that it should prevent interactions with other parts of the UI until it's filled out.

stuck raven
#

our prices can change anytime, there is any way to update that value? or at least close the paymentSheet?

final comet
#

Or is this something that occurs between initPaymentSheet and presentPaymentSheet

stuck raven
#

yes, after initPaymentSheet has been applied,
if the user take too long on that screen, our price may change, and we need to refresh it

final comet
#

Got it, that makes sense. I'm looking through our SDK docs for ways to update the PaymentSheet

stuck raven
#

Ok

final comet
#

Okay that took some digging. Unfortunately I don't see an option for our React Native SDK but only our Android and iOS SDKs.

And this is only for the integration pattern where you finalize the payment on the server.

stuck raven
#

ok