Documentation
¶
Index ¶
Constants ¶
View Source
const ( InAppPurchaseSuccess = "payment_intent.succeeded" InAppPurchaseFail = "payment_intent.payment_failed" )
View Source
const ( CheckoutSeesionPaid = "paid" // 已支付 CheckoutSeesionNoPaymentRequired = "no_payment_required" // 无需支付 CheckoutSeesionUnpaid = "unpaid" // 未支付 )
View Source
const (
CheckoutSeesionCompleted = "checkout.session.completed"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildPaymentLinkConfig ¶
type Stripe ¶
type Stripe struct {
// contains filtered or unexported fields
}
func (*Stripe) BuildPaymentLinkURL ¶
func (s *Stripe) BuildPaymentLinkURL(conf *BuildPaymentLinkConfig) (string, error)
Click to show internal directories.
Click to hide internal directories.