more cart
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user