stripe

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 10 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