Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCartCacheKey ¶
GenerateCartCacheKey generates a cache key for guest cart based on IP and user agent
func GenerateStripePaymentsCheckoutURL ¶
func GenerateStripePaymentsCheckoutURL(options GenerateStripePaymentsCheckoutURLOptions) (string, error)
GenerateStripePaymentsCheckoutURL - generates checkout URL for "Stripe Payments"
Types ¶
type GenerateStripePaymentsCheckoutURLOptions ¶
type GenerateStripePaymentsCheckoutURLOptions struct {
CustomerEmail string
AmountToPay float64
UrlPaymentCancel string
UrlPaymentSuccess string
StripeKeyPrivate string
LineItems []LineItem
OrderID string
}
GenerateStripePaymentsCheckoutURLOptions options for "Stripe Payments"
Click to show internal directories.
Click to hide internal directories.