#neil3rd-accountid

1 messages · Page 1 of 1 (latest)

noble vine
dim nimbus
noble vine
#

hello @dim nimbus! why are you defining the stripe.api_key 5 times in the first screenshot?

dim nimbus
#

arent these separate unique stripe api keys for secret key, publishable key, account id, webhook and stripe api version?

noble vine
#

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_....

dim nimbus
#

ok, made the necessary steps, as well for "sk_test_...",however onboarding page still does not load

noble vine
#

when you say onboarding page - do you mean the Connect Onboarding page?

dim nimbus
#

yes

noble vine
dim nimbus
#

yes

noble vine
#

can you share the code snippet of that section? and how you're returning the link?

dim nimbus
#

kindly rephrase, don't quite understand the question >> " and how you're returning the link? "

noble vine
#

you mentioned the onboarding page still does not load - how are you attempting to load the onboarding page?

dim nimbus
#

on firefox via direct url

#

.com/onboard-user

noble vine
#

can you check if the url is being returned in your frontend, and whether there are any errors in your developers console?

dim nimbus
#

which frontend will this be?

#

developers console in my Stripe account?

noble vine
#

your application / website

dim nimbus
#

frontend is the html?

noble vine
#

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

dim nimbus
#

this is my basic frontend

noble vine
#

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?

dim nimbus
#

yes

noble vine
#

can you check whether the call to your server returns the Stripe Connect Onboarding url successfully?

dim nimbus
#

is the checking done on my stripe account?

noble vine
#

you will need to open the developer tools

#

then navigate the the network tab

#

find the request which is supposed to return the url

dim nimbus
noble vine
#

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?

dim nimbus
#

I dont see "account_link_url back" anywhere

noble vine
#

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

dim nimbus
#

you're referring to your previous reply ".... click on Setup payments on Stripe button......" ?

#

as button that must return the account_link_url?

noble vine
#

clicking on the button needs to initiate the request

#

and the request needs to receive the response

dim nimbus
#

copy, though why doesn't the url render the onboarding page?

noble vine
#

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

dim nimbus
#

is there a video of this so I can better visualize what it means to "to be passed back "?

noble vine
#

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

dim nimbus
#

noted on this, though maybe

#

?

noble vine
#

no, that doesn't have any requests or responses involved

dim nimbus
#

? @noble vine

viral wraith
#

my colleague had to step away, catching up..

dim nimbus
#

copy, thanks for the heads up @viral wraith

viral wraith
#

what are you currently blocked on and the specific question you have?

dim nimbus
#

maybe my question can be addressed upon return some time later

#

for the meantime I'll proceed to my other 2 items

#

3 @viral wraith @noble vine

viral wraith
dim nimbus
viral wraith
#

not sure what that means. So it's just placeholder for whatever your actual business/site is?

dim nimbus
#

yes placeholder

viral wraith
#

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?

dim nimbus
#

ok

viral wraith
#

what are you trying to do and what result do you get versus what you expect to see?

dim nimbus
#

Alex said to do some reading on requests or responses

dim nimbus
viral wraith
#

Alex won't be back, they are in a different timezone

#

I can help you

dim nimbus
#

ok

viral wraith
dim nimbus
#

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?

viral wraith
#

those are webhooks so no I don't they have any relevance here for now

dim nimbus
#

ok

viral wraith
#

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?

dim nimbus
#

@viral wraith I'm expecting this to onboarding page to render

#

last is

viral wraith
#

no idea who that is or what you mean so, moving on...

dim nimbus
#

ok, moving on

viral wraith
#

I don't understand your screenshot. It's one of our examples

#

what is .com/onboard-user exactly? something you are building?

dim nimbus
#

@viral wraith yes

viral wraith
#

please stop tagging my colleague, as I said, moving on.

viral wraith
dim nimbus
viral wraith
#

so what code have you written? can you share what you wrote and what part you're stuck on?

dim nimbus
#

but its ok, if you dont want me to tag Alex

#

this probably the decorum here

viral wraith
#

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?

dim nimbus
viral wraith
#

ok I'll make sure to tell my colleagues!

dim nimbus
viral wraith
#

again, happy to help, it's my job, what are you stuck on?

#

that link is a 404, I have no idea what you mean by posting it.