Documentation ¶
Overview ¶
Package stripe provides Stripe functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideStripePaymentManager ¶
func ProvideStripePaymentManager(logger logging.Logger, tracerProvider tracing.TracerProvider, cfg *Config) capitalism.PaymentManager
ProvideStripePaymentManager builds a Stripe-backed PaymentManager.
Types ¶
type Config ¶
type Config struct { APIKey string `json:"apiKey" toml:"api_key"` WebhookSecret string `json:"webhookSecret" toml:"webhook_secret"` }
Config configures our Stripe interface.
type WebhookSecret ¶
type WebhookSecret string
WebhookSecret is a string alias for dependency injection.
Click to show internal directories.
Click to hide internal directories.