Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStripe ¶
type IStripe interface { ConstructWebhookEvent(reqBody []byte, signature string, webhookKey string) (stripe.Event, error) NewCheckoutSession(paymentMethods []string, mode, successURL, CancelURL string, lineItems []*stripe.CheckoutSessionLineItemParams, discounts []*stripe.CheckoutSessionDiscountParams) *stripe.CheckoutSession }
type Stripe ¶
type Stripe struct {
// contains filtered or unexported fields
}
func (*Stripe) ConstructWebhookEvent ¶
func (*Stripe) NewCheckoutSession ¶
Click to show internal directories.
Click to hide internal directories.