The documentation for Stripe's checkout.session.completed
is vague.
It says it Occurs when a Checkout Session has been successfully completed.
When does a checkout session complete? When a successful charge has been made?
Microsoft 365 service Session timeout Microsoft 365 admin center You are asked to provide credentials for the admin center every 8 hours. SharePoint Online 5 days of inactivity as long as the users chooses Keep me signed in.
Session lifetimes are an important part of authentication for Microsoft 365 and are an important component in balancing security and the number of times users are prompted for their credentials. Session times for Microsoft 365 services When users authenticate in any of the Microsoft 365 web apps or mobile apps, a session is established.
A webhook set to listen to all events will not receive an event requiring explicit selection. Occurs whenever an account status or property has changed. Occurs whenever a user authorizes an application. Sent to the related application only. The name of the Connect application. Occurs whenever a user deauthorizes an application.
Occurs whenever an invoice item is deleted. Occurs whenever an invoice item is updated. Occurs whenever an authorization is created. Represents a synchronous request for authorization, see Using your integration to handle authorization requests. You must create a webhook endpoint which explicitly subscribes to this event type to access it.
When does a checkout session complete? When a successful charge has been made?
Stripe emits the checkout.session.completed
event each time one of your users successfully goes through the checkout flow:
https://stripe.com/docs/api/events/types#event_types-checkout.session.completed
The event won't be emitted if a user's payment fails, or if they fail to provide any of the required fields. There will however be other events (e.g., payment_intent.payment_failed
) that will be emitted if you wanted to track failed attempts.
You can use the Stripe CLI to listen for all the events that are emitted to your account while running through the checkout flow with Stripe's test cards:
https://stripe.com/docs/stripe-cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With