Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
DB types.Datastorable
}
Controller ...
func (*Controller) ExecPayment ¶
func (ctr *Controller) ExecPayment() func(ctx iris.Context)
ExecPayment ... There is several ways to create a payment, see https://stackoverflow.com/questions/34415987/stripe-payment-getting-error-as-customer-cus-does-not-have-a-linked-card for more details about token vs Source. And my logic came from this article. https://qiita.com/y_toku/items/7e51ef7e69d7cbbfb3ca
Click to show internal directories.
Click to hide internal directories.