16 lines
223 B
Go
Raw Normal View History

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