Files
commerce/thirdparty/mpc/init.go
zeekay 1943f1c093 Hanzo Commerce
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans,
usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0.

Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
2026-09-23 21:52:16 -07:00

14 lines
448 B
Go

package mpc
import (
"github.com/hanzoai/commerce/payment/processor"
)
// The rail registers itself from the environment, through the one function that
// reads it. Nothing is assembled here: a second place that built a Config would
// be a second place a setting could be forgotten, which is how MPC_ZAP_ADDR
// could have been added to the config type and still done nothing.
func init() {
processor.Register(NewProcessor(DefaultConfig()))
}