#sejo
1 messages · Page 1 of 1 (latest)
The error doesn't seem related to Stripe. Can you share your code here?
had nothing to do with the webhook, sorry, if I get to have any punctual error I will be back thank you very much
I had another route with webhook so I threw that
Got it! So is your issue resolved?
For now if, should start testing webhook sure q if I can not solve them I will return here, thanks for everything
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
do you mean in live mode? or do you want to test it locally?
you can use Stripe CLI
mm good looks half complicated ajajaj but I will try
once I try it with CLI and walk just should I upload it to the stripe panel?
your webhook endpoint should be hosted by yourself
and you should create a webhook endpoint on your dashboard to point to that URL
Stripe CLI?
Download the latest windows tar.gz file from https://github.com/stripe/stripe-cli/releases/latest
Unzip the stripe_X.X.X_windows_x86_64.zip file
Run the unzipped .exe file
ok
and you can check if Stripe CLI is installed by running stripe --version
"stripe" is not recognized as an internal or external command,
Executable program or batch file
That's what I throw when I put that command
ok in that case you can cd to ~/Downloads/stripe..../ and then run stripe.exe --version
ok
I think I'm going well.. if or if I have q press C to finish that? Is that key not canceled if I press out ?
are you talking about the webhook signing key ?
when using the cli, its the same always
this is it ?
With this any payment they make will send me the information to my backend?
if your backend is listening to the webhooks
You need to not finish cancel this, it must be running in order to forward...
well I make a trial purchase and see if you receive it and I warn you
Make a payment but do not receive any notification either from the CLI or in the backend
Correct!
ok
With this you could know where the error is ?because this code is the one that gives me stripe
this is a 404 error code, that mean the url doesn't exists
when you hit localhost:3001/webhooks in your browser are you getting a result ?
the endpoint doesn't exsist.
now
you need to check your endpoint path
I found the error and the information arrives
/webhook in CLi was /webhooks
Now a silly question maybe... but it does not come with the time it is made the payment
events are async not real time.
mmm well I'll see how to fix that, thanks. In this way you could already use it for real payments and production?
Yeah of course
Thank you very much to you and your colleagues, they were of re help, sure they will see me back for any mistake
n
Np! you're welcome!