#rtm0699_code

1 messages ยท Page 1 of 1 (latest)

pearl onyxBOT
#

๐Ÿ‘‹ 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/1232963241425113128

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

dawn oysterBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

brave shale
#

Can you share what you're trying to achieve?

pearl onyxBOT
pure ledge
#

Preventing Stripe from breaking the app I'm working on. I'm building a desktop app for macOS and child iframes cause issues with the framework.

#

If there's a way I would like to have stripe.js not to load any iframes

little smelt
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

pure ledge
#

I'm currently using some stripe elements but if that helps I can remove them. Any alternative would be better even if it means more work for me in terms of coding.

little smelt
#

I think the best thing is to redirect to a Checkout Session here

#

and the success and cancel URLs would be deep links to your desktop app

pure ledge
#

hmm, I'm not sure if that would work well. Is there another way? I would prefer to keep users in the app.

little smelt
#

I'm not sure if that would work well.
in what way?

#

I mean how will it not work well?

#

most desktop apps use this flow. e.g. for authentication (slack, discord, etc.), for joining calls (e.g. zoom) etc.

pure ledge
#

Because the framework I'm using might have some issues with deep links. It could work but I will have to dig deeper.

little smelt
#

what framework are you using?

pure ledge
#

If deep links don't work as expected, is there another alternative ?

#

tauri

little smelt
#

oh but macos isn't supported here

pure ledge
#

That's beta too

little smelt
#

yes I agree

pure ledge
#

I'm using tauri v1 and I haven't worked with deep links yet but I've read some issues on github. Not saying it wouldn't work but having another approach (if possible) as a backup would be nice.

little smelt
#

we don't have an official recommendation for this

#

but you can use webviews (which I don't really like tbh) but that's the easiest/quickest approach