#anstev_code

1 messages ¡ Page 1 of 1 (latest)

scenic kiteBOT
#

👋 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/1224517953068863579

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

real grove
#

just to log, 250 ms does not fix the issue, yet 500 does.

covert summitBOT
tiny kettle
#

Hi there, what error do you see after calling presentPaymentSheet(); ?

real grove
#

there is no error, it just doesnt resolve. for example, if I throw a log before and after presentPaymentSheet(), i don't see the log after calling presentPaymentSheet

tiny kettle
#

And do you get any error from initPaymentSheet ?

real grove
#

none. I only call presentPaymentSheet if there is no error. I'll paste all relavent code, one sec.

#

appreciate the help

#

So i think the issue stems from the fact that I navigate to the root of the stack and then on navigation focus run initPaymentSheet() -> presentPaymentSheet. I think this timing creates the issue whereby the payment sheet appears not to show.