Added paypal callbacks
This commit is contained in:
15
pages/paypal/cancel.go
Normal file
15
pages/paypal/cancel.go
Normal file
@ -0,0 +1,15 @@
|
||||
package paypal
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/aerogo/aero"
|
||||
)
|
||||
|
||||
// Cancel ...
|
||||
func Cancel(ctx *aero.Context) string {
|
||||
token := ctx.Query("token")
|
||||
fmt.Println("cancel", token)
|
||||
|
||||
return ctx.HTML("cancel")
|
||||
}
|
Reference in New Issue
Block a user