OnPaidBasketClearedNotification
The following properties are available within the notification
| Property Name | Type |
|---|---|
| Basket | Basket |
| CheckoutSessionId | string |
It is published on the customerโs next visit after the webhook recorded the payment. Use it, for example, to send a follow-up email.
Which sessions are paid
Section titled โWhich sessions are paidโWhether a checkout session has been paid is answered by IPaidCheckoutSessions (UmbCheckout.Core.Interfaces):
Task<bool> IsPaidAsync(string checkoutSessionId, CancellationToken cancellationToken = default);UmbCheckout.Stripe registers an implementation backed by the webhookโs records of paid checkout sessions, which are kept for 30 days. This works on every site, with every Basket store. A site can register its own implementation, and UmbCheckout.Stripe then leaves it in place. With no implementation registered, nothing is cleared on read.