#julio_code
1 messages ยท Page 1 of 1 (latest)
๐ 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.
Hello ๐
What changes are occurring in your app that require updating the googlePay.amount for the Payment Sheet once it is displayed?
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.
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.
our prices can change anytime, there is any way to update that value? or at least close the paymentSheet?
Or is this something that occurs between initPaymentSheet and presentPaymentSheet
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
Got it, that makes sense. I'm looking through our SDK docs for ways to update the PaymentSheet
Ok
ok