Use Case: I want to give a user 60 seconds to make a payment when they get to the Stripe block in my Typebot flow.
I couldn't find a clean solution to this, so I was experimenting with the Script block and setTimeout JS Window method.
Here's the problem I encountered: I'm trying to start a "timer" with setTimeout to refresh the page using the Script Block and then cancel the refresh in a subsequent Script block after the user clicks on a button. However, when I run the Script block to cancel the refresh, it doesn't do it. It works fine when I run this same exercise in the Chrome Dev Console.
Please see my screen recording:
https://neferlopez.dubb.com/v/5NZnE2Any suggestions?