16 lines
223 B
Go
Raw Normal View History

2017-07-16 18:29:10 +00:00
package paypal
import (
"fmt"
"github.com/aerogo/aero"
)
// Cancel ...
2019-06-01 04:55:49 +00:00
func Cancel(ctx aero.Context) error {
2017-07-16 18:29:10 +00:00
token := ctx.Query("token")
fmt.Println("cancel", token)
2018-02-24 09:29:20 +00:00
return ctx.HTML("Payment has been canceled.")
2017-07-16 18:29:10 +00:00
}