#yaziliman_code

1 messages Β· Page 1 of 1 (latest)

glass cradleBOT
#

πŸ‘‹ 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/1234492746425827430

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

drowsy vessel
magic relicBOT
burnt sundial
#

Hi there πŸ‘‹ what is getStripeOAuthLink, and what guide is telling you to leverage it? It's not something I readily recongize so I'm not sure what you're trying to accomplish.

drowsy vessel
#

I have just started developing and I am trying to develop the project in a video.

https://www.youtube.com/watch?v=6omuUOZcWL0&t=34963s

In the video in the link, the instructor uses getStripeOAuthLink and can import the value. However, I'm getting an error, I thought Stripe might have changed the name of this value with an update.

✨ Join Prodigies University today πŸ‘‰πŸ» https://www.webprodigies.com
In Prodigies University we break down everything for the next upcoming videos in live deep dive sessions! See the whole process from start to finish:
βœ… Architecture
βœ… Wire-framing
βœ… Workflows
βœ… Figma layouts
βœ… Project Management
βœ… Backlog
βœ… My Ideation process
βœ… Early access to th...

β–Ά Play video
burnt sundial
#

Hm, I'm not familiar with that video or what it shows. Did they explain what they use getStripeOAuthLink for?

drowsy vessel
#

Yes, I am trying to enable a customer to create an account for Stripe Connect or login to Stripe and list their products. This is a SaaS project, so my goal is customer>Stripe connect>Outh (Stripe verification)>and products in Stripe.

burnt sundial
#

I would not recommend OAuth for new Connect integrations, we haven't for several years. I would recommend using either our Account Link onboarding flow or a custom built flow, depending on the type of Connected Accounts you're using. Have you already decided on that Account type?

drowsy vessel
#

Unfortunately the whole structure is based on this. As you can see in the screenshot in the following lines, stripeOAuthLink = getStripeOAuthLink with const is used. I also want to show the error that the website gives:

burnt sundial
#

The note near the top of the page here is why you shouldn't be using OAuth any more:
https://docs.stripe.com/connect/oauth-reference
This part in particular:

Starting in June 2021, Platforms using OAuth with read_write scope won’t be able to connect to accounts that are controlled by another platform.

This reference lists available public methods for our OAuth endpoints for Connect.

drowsy vessel
#

I understand you, but I don't think this is the source of the problem, because the trainer released this training only 2 months ago and it works. I need it to work this way for now.

burnt sundial
#

I'd strongly advise against an OAuth integration, but if you're going to try to mirror what you saw the trainer do I'd recommend reaching out to the trainer for clarity on how they accomplished what they showed you.