Documentation ¶
Index ¶
- Constants
- func MoneyFeeToString(moneyFee float64) string
- func New() payment.Hook
- type Paypal
- func (a *Paypal) Client() *paypal.Client
- func (a *Paypal) Notify(ctx echo.Context) error
- func (a *Paypal) Pay(cfg *config.Pay) (param.StringMap, error)
- func (a *Paypal) Query(ctx echo.Context, cfg *config.Query) (config.TradeStatus, error)
- func (a *Paypal) Refund(cfg *config.Refund) (param.StringMap, error)
- func (a *Paypal) SetAccount(account *config.Account) payment.Hook
- func (a *Paypal) SetNotifyCallback(callback func(echo.Context) error) payment.Hook
Constants ¶
View Source
const Name = `paypal`
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.