stripe

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPaymentProvider

func NewPaymentProvider(config Config) (payments.Provider, error)

NewPaymentProvider creates a new Stripe payment provider using the provided configuration.

Types

type Config

type Config struct {
	SecretKey string `mapstructure:"secret_key" json:"secret_key"`
}

Config contains the Stripe-specific configuration for payment providers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL