Documentation
¶
Index ¶
- Variables
- func HandleInitialSubscriptionPaymentStartToday(charge stripe.Charge) error
- func InitNormalCheckouts(d string, sp string, cp string, gtos types.TypeOfSubscription)
- func MourosSubscription(w http.ResponseWriter, r *http.Request)
- func ReturnDisctountStruct(userID int) []*stripe.CheckoutSessionDiscountParams
- func SetCoupon(subscriptionStripeID string, couponID ...string) error
- type PrePayment
Constants ¶
This section is empty.
Variables ¶
View Source
var (
GLOBAL_TYPE_OF_SUBSCRIPTION types.TypeOfSubscription
)
Functions ¶
func HandleInitialSubscriptionPaymentStartToday ¶
Initial Subscription Payment Start Today
func InitNormalCheckouts ¶
func InitNormalCheckouts(d string, sp string, cp string, gtos types.TypeOfSubscription)
func MourosSubscription ¶
func MourosSubscription(w http.ResponseWriter, r *http.Request)
func ReturnDisctountStruct ¶
func ReturnDisctountStruct(userID int) []*stripe.CheckoutSessionDiscountParams
this is for mouros subscription, if user had any subscription, return the discount
Types ¶
type PrePayment ¶
type PrePayment struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.