Added paypal callbacks

This commit is contained in:
2017-07-16 20:29:10 +02:00
parent 649672429d
commit d33b93d115
5 changed files with 105 additions and 12 deletions

15
pages/paypal/cancel.go Normal file
View 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")
}