#vadim70
1 messages · Page 1 of 1 (latest)
Yes
Okay then as long as you trigger an Event of the type that your Webhook endpoint is listening for it will be sent to that endpoint.
You can use the CLI and use stripe trigger or you can just make the necessary API requests yourself
I see, so "stripe trigger" command actually causes stripe server to send an event to the actual endpoint? Right, but since I'm getting an error it means something wrong with the endpoint?
stripe trigger executes a fixture which is a set of API requests in order to generate the Event that you want
So basically, yes.
Okay, is there a way to check that endpoint is valid from my dashboard?
You can trigger certain Events from your Dashboard, but some you need to use the CLI or use the API
Depends on the Event you want to test
So, I haven't yet studied all the events from documentation, but what I have is the simplest form of one-time payments.
As I got from docs I have to create a payment session and generate a payment link on my side and then wait for an event of successful payment to be able to link the user and the event.
I guess I need those events?
checkout.session.async_payment_succeeded
checkout.session.completed
Yep if you are working with Stripe Checkout then those are what you want.
You can't trigger those from the Dashboard
So you need to either use the CLI or create/complete a Checkout Session
Okay, does create/complete a checkout means a real one?
In test mode, yes.
I see, is there any guide to do that via test mode?