Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StripeProvider is the string identifier for the Stripe payment provider. StripeProvider = "stripe" // PayPalProvider is the string identifier for the PayPal payment provider. PayPalProvider = "paypal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PreauthorizationResult ¶
type PreauthorizationResult struct {
}PreauthorizationResult contains the data returned from a Preauthorization.
type Preauthorizer ¶
type Preauthorizer func(amount uint64, currency string, description string) (*PreauthorizationResult, error)
Preauthorizer wraps the Preauthorize method which pre-authorizes a payment with the provider.
Click to show internal directories.
Click to hide internal directories.