Documentation ¶
Index ¶
- func AddDefaultPayment(c echo.Context) (err error)
- func CheckCustomer(billing *models.Billing) (customer_id *stripe.Customer, err error)
- func GetPaymentMethod(cu_id string, pm_type string) (pm_method *stripe.PaymentMethod, err error)
- func PaymentIntentCard(c echo.Context) (err error)
- func PaymentIntentIBAN(c echo.Context) (err error)
- func Subscription(c echo.Context) (err error)
- func SuccessPayment(c echo.Context) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultPayment ¶
* * controller for payment
func CheckCustomer ¶
* * Get or create customer. Use billing informations. * return stripe Customer
func GetPaymentMethod ¶
* * get payment method from stripe api via customer id and given type
func PaymentIntentCard ¶
func PaymentIntentIBAN ¶
func Subscription ¶
func SuccessPayment ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.