more cart

This commit is contained in:
2026-07-01 10:40:28 +02:00
parent 75db64ce75
commit b1e99891e9
30 changed files with 1058 additions and 93 deletions
+4
View File
@@ -44,6 +44,10 @@ func newFlowRegistry(pool Applier, provider PaymentProvider) *flow.Registry {
// place-and-pay references the emit_order_created hook; register it (nil
// publisher = no-op) so flow validation passes in tests too.
RegisterOrderCreatedEmit(reg, pool, nil, "order", "order")
// place-and-pay also references send_email hooks; register it with nil
// sender and nil templates so validation passes (runtime = error, tests
// that exercise email have their own sender/templates).
RegisterEmailHook(reg, pool, nil, nil)
return reg
}