paypal

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: 16 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 PayPal payment provider using the provided configuration.

Types

type Config

type Config struct {
	ClientID string `mapstructure:"client_id" json:"client_id"`
	Secret   string `mapstructure:"secret" json:"secret"`
	Env      string `mapstructure:"env" json:"env"`
}

Config contains PayPal-specific configuration for payment providers.

Jump to

Keyboard shortcuts

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