Implemented charge up

This commit is contained in:
2017-10-05 12:36:26 +02:00
parent 41155c8bff
commit 71303ef351
5 changed files with 81 additions and 19 deletions

View File

@ -159,7 +159,7 @@ func configure(app *aero.Application) *aero.Application {
// PayPal
app.Ajax("/paypal/success", paypal.Success)
app.Ajax("/paypal/cancel", paypal.Cancel)
app.Get("/api/paypal/payment/create", paypal.CreatePayment)
app.Post("/api/paypal/payment/create", paypal.CreatePayment)
// Assets
configureAssets(app)