Skip to content

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.

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.