#vaios_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/1310531997877141524
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
What happens if wrong amount is added here?
what do you mean by this? if you put the wrong amont, then the user will be charger the wrong amount
with PaymentSheet, you have to handle the conversion yourslef.
This is needed in order to initialize the flowcontroller. The problem is that we do not have the amount at this point and we would like to do it lazily
so you would like to update the amount of the PaymentSheet, after creating it?
yeap
android
give me a few minutes to look into this
you need to pass the amount exactly at the time that you present the UI : https://docs.stripe.com/payments/accept-a-payment-deferred?platform=android&type=payment#present-paymentsheet
but you can't change the amount while the sheet is open
we want to use flowcontroller as we want to pay on a later stage
thank you! we will try it