Documentation ¶
Index ¶
- func CreateCustomer(email string, name string, locale string) (cu *stripe.Customer, err error)
- func CreatePrice(amount int64, pm_id string, interval string) (p *stripe.Price, err error)
- func GetCustomerByEmail(email string) (cu *stripe.Customer, err error)
- func GetDate() (t time.Time)
- func GetPaymentMethod(cu_id string, pm_type string) (pm_method *stripe.PaymentMethod, err error)
- func SetDefaultPayment(cu_id string, pm_id string) (cu *stripe.Customer, err error)
- func SetupIntent(cu_id string, pm_type string) (co_data *models.CheckoutData, err error)
- func SubProduct(cu_id string, p_id string) (s *stripe.Subscription, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCustomer ¶
func CreatePrice ¶
func GetCustomerByEmail ¶
func GetPaymentMethod ¶
func SetDefaultPayment ¶
func SetupIntent ¶
func SetupIntent(cu_id string, pm_type string) (co_data *models.CheckoutData, err error)
func SubProduct ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.