#neil3rd-accountid
1 messages · Page 1 of 1 (latest)
hello @dim nimbus! why are you defining the stripe.api_key 5 times in the first screenshot?
arent these separate unique stripe api keys for secret key, publishable key, account id, webhook and stripe api version?
okay, but right now, you've defined a variable as stripe.api_key and at each line in the first screenshot, you're assigning a different value to stripe.api_key.
if you log stripe.api_key after each assignment line, you'll get a different value for stripe.api_key. I don't think that's what you want
stripe.api_key is supposed to be the secret key which starts with sk_....
ok, made the necessary steps, as well for "sk_test_...",however onboarding page still does not load
when you say onboarding page - do you mean the Connect Onboarding page?
yes
have you created the account link? https://stripe.com/docs/api/account_links/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes
can you share the code snippet of that section? and how you're returning the link?
kindly rephrase, don't quite understand the question >> " and how you're returning the link? "
you mentioned the onboarding page still does not load - how are you attempting to load the onboarding page?
can you check if the url is being returned in your frontend, and whether there are any errors in your developers console?
your application / website
frontend is the html?
do you have a website which users access in order to onboard with you (as the platform)? If yes, then you'll need to check on the page on your website where you expect your users to be on, when they are redirected to the Stripe Connect Onboarding page
i'm assuming that the users will click on Setup payments on Stripe button, and you're expecting them to be redirected to Stripe Connect Onboarding page?
yes
can you check whether the call to your server returns the Stripe Connect Onboarding url successfully?
is the checking done on my stripe account?
you will need to open the developer tools
then navigate the the network tab
find the request which is supposed to return the url
you'd probably know better than me which one is the correct request, if you click on the relevant request, you should be able to see the response
are you getting the account_link_url back?
I dont see "account_link_url back" anywhere
then you would want to ensure that when clicking on the button -> an API request is made to your server -> which then returns the account_link_url
you're referring to your previous reply ".... click on Setup payments on Stripe button......" ?
as button that must return the account_link_url?
clicking on the button needs to initiate the request
and the request needs to receive the response
copy, though why doesn't the url render the onboarding page?
you need the url to be passed back and then redirect your user to that url
if your server isn't telling the browser the information, the browser wouldn't know where it needs to go to
is there a video of this so I can better visualize what it means to "to be passed back "?
i think you'll probably want to better understand how requests and responses work in general. Searching online might yield some results, I haven't looked at any tutorials or guides for this before so I don't have any recommendations unfortunately
no, that doesn't have any requests or responses involved
I was thinking Rachel of https://glitch.com/@t.s.m.rachel can demo a separate one that does indeed do requests or responses
? @noble vine
my colleague had to step away, catching up..
copy, thanks for the heads up @viral wraith
what are you currently blocked on and the specific question you have?
maybe my question can be addressed upon return some time later
for the meantime I'll proceed to my other 2 items
2 @viral wraith @noble vine which one here https://flask.palletsprojects.com/en/2.0.x/search/?q=+requests+or+responses
explains requests or responses?
3 @viral wraith @noble vine
not sure what that means. So it's just placeholder for whatever your actual business/site is?
yes placeholder
got it.
ok so that screenshot is about webhooks, which is a related concept but doesn't seem relevant to the other stuff you're talking about so let's ignore that for now.
again, what is your current blocker and problem?
ok
what are you trying to do and what result do you get versus what you expect to see?
2 @viral wraith @noble vine which one here https://flask.palletsprojects.com/en/2.0.x/search/?q=+requests+or+responses
Alex said to do some reading on requests or responses
I'm willing to wait for Alex to explain this upon return
ok
I don't think the Flask docs are a good place to start, you probably want something more like https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP or https://medium.com/nerd-for-tech/http-basics-d86fbf8107ec for example.
or if you're comfortable with all that and have a specific question you're stuck on, happy to try to help.
will read this then
moving on, should I retain or otherwise, what the endpoints should be listening for?
this is not what's causing the url not to render the onboarding page?
those are webhooks so no I don't they have any relevance here for now
ok
what does 'the url not to render the onboarding page' mean? can you show me the page you're working on and the error or so on you see?
@viral wraith I'm expecting this to onboarding page to render
last is
hopefully maybe Rachel https://glitch.com/@t.s.m.rachel can have a demo site to help visualize "requests or responses"
no idea who that is or what you mean so, moving on...
ok, moving on
I don't understand your screenshot. It's one of our examples
what is .com/onboard-user exactly? something you are building?
@viral wraith yes
@noble vine hopefully maybe Rachel https://glitch.com/@t.s.m.rachel can have a demo site to help visualize "requests or responses"
please stop tagging my colleague, as I said, moving on.
so what code have you written? can you share what you wrote and what part you're stuck on?
I see the profile status as online
so what code have you written? can you share what you wrote and what part you're stuck on?
the decorum is we answer your technical questions.
so what code have you written? can you share what you wrote and what part you're stuck on?
so far you've shared code from https://github.com/stripe-samples/connect-onboarding-for-express/blob/83f5776f/server/python/server.py . So I assume you are trying to adapt that or deploy it on your own server, or something along those lines?
I'll end it here for now. I'll just return at a later time and just link this thread
ok I'll make sure to tell my colleagues!