16 lines
225 B
Go
Raw Normal View History

2017-07-16 18:29:10 +00:00
package paypal
import (
"fmt"
"github.com/aerogo/aero"
)
// Cancel ...
func Cancel(ctx *aero.Context) string {
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
}