#peach_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/1303946414463909898
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Where is handleCalendlyClick being called?
i have a button in one of my views
when i click the button, it blocks the new window opening with the afforementioned error:
<Button type="primary" onPress={handleCalendlyClick}>
Activate Redux
</Button>
was made in a sandboxed frame whose 'allow-popups' permission is not set.
is there a way to allow popups in the app sandbox?
Thanks for sharing the details. I'm afraid it's not possible to override the sandboxed permission to allow pop up. This is not supported in Stripe apps.
understood. so how can i test that it works before publishing the app to the marketplace?
Have you checked the guide here on how to preview and build the app to test your changes?
yea, but the documentation you just linked is the sandbox though, right? which doesn't allow popups
Sandboxed frame is not a sandbox environment. Sandboxed frame is an attribute in HTML:
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
Pop-up will not be supported in any environment for Stripe apps
ah, ok. thanks for clarifying. so how can i link out to an external site from within a view? we want to give customers the option of setting up a consulation when installing the app
like is there any way to make this button work in a view?
const handleCalendlyClick = () => {
window.open('https://calendly.com/philip-pages', '_blank');
};
nvm, i got it working. thanks for your help