Files
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

36 lines
1.7 KiB
Go

// Package providers is a convenience package that imports all payment provider
// packages, ensuring they are available for the processor registry. Import this
// package with a blank identifier in your main application to register all
// providers:
//
// import _ "github.com/hanzoai/commerce/payment/providers"
package providers
import (
// Import all provider packages so their init() functions register
// with the global processor registry if they use init-based registration.
// For providers that require configuration, use their NewProcessor()
// constructors directly.
_ "github.com/hanzoai/commerce/payment/providers/adyen"
_ "github.com/hanzoai/commerce/payment/providers/bitpay"
_ "github.com/hanzoai/commerce/payment/providers/braintree"
_ "github.com/hanzoai/commerce/payment/providers/circle"
_ "github.com/hanzoai/commerce/payment/providers/coinbase_commerce"
_ "github.com/hanzoai/commerce/payment/providers/lemonsqueezy"
_ "github.com/hanzoai/commerce/payment/providers/moonpay"
_ "github.com/hanzoai/commerce/payment/providers/opennode"
_ "github.com/hanzoai/commerce/payment/providers/paypal"
_ "github.com/hanzoai/commerce/payment/providers/recurly"
_ "github.com/hanzoai/commerce/payment/providers/solanapay"
// Unified Square provider — follows the braintree/ shape so BD can
// resolve it via processor.Get(processor.Square) and Configure()
// per-request from payment_providers creds. This init() wins the
// registry race over thirdparty/square's env-var init() because it
// is imported after.
_ "github.com/hanzoai/commerce/payment/providers/square"
_ "github.com/hanzoai/commerce/payment/providers/stripe"
_ "github.com/hanzoai/commerce/thirdparty/mpc"
_ "github.com/hanzoai/commerce/thirdparty/wire"
)