added call SendOnCartPurchase
Some checks failed
Lint / Lint (push) Failing after 42s

This commit is contained in:
Pasha 2025-07-23 16:26:43 +03:00 committed by skeris
parent a6b0f06f88
commit de662dea2b

@ -65,6 +65,10 @@ func (c *CallbackClient) SendOnSuccess(ctx context.Context, host string, event *
return errors.NewWithError(fmt.Errorf("failed to send success callback: %w", err), errors.ErrInternalError)
}
if err := c.SendOnCartPurchase(ctx, host, event); err != nil {
return err
}
return nil
}