You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
823 B
11 lines
823 B
package config
|
|
|
|
type Paypal struct {
|
|
Env string `mapstructure:"env" json:"env" yaml:"env"` //端点
|
|
ClientID string `mapstructure:"client-id" json:"client-id" yaml:"client-id"` //用户ID
|
|
Secret string `mapstructure:"secret" json:"secret" yaml:"secret"` //密钥
|
|
ReturnUrl string `mapstructure:"return-url" json:"return-url" yaml:"return-url"` //支付完成跳转
|
|
CancelUrl string `mapstructure:"cancel-url" json:"cancel-url" yaml:"cancel-url"` //取消支付跳转
|
|
OrderBack int `mapstructure:"order-back" json:"order-back" yaml:"order-back"` //订单取消时间(分钟)
|
|
OrderConfirm int `mapstructure:"order-confirm" json:"order-confirm" yaml:"order-confirm"` //订单确认时间(天)
|
|
}
|
|
|