Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/event/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (p *Service) BillingWebhook(ctx context.Context, payload ProviderWebhookEve
go func() {
// don't block the webhook and process it in the background
switch evt.Type {
case "checkout.session.completed":
case "checkout.session.completed", "checkout.session.async_payment_succeeded":
// trigger checkout sync
deDupKey := fmt.Sprintf("checkout-%s-%d", providerID, currentExecutionUnit)
_, err, _ := p.sf.Do(deDupKey, func() (interface{}, error) {
Expand Down
Loading