Changed main currency to JPY

This commit is contained in:
2017-10-06 05:53:49 +02:00
parent 03c79e2932
commit c0d57e51c9
10 changed files with 81 additions and 81 deletions

View File

@ -67,7 +67,7 @@ func CreatePayment(ctx *aero.Context) string {
// return ctx.Error(http.StatusInternalServerError, "Could not create PayPal web profile", err)
// }
total := amount[:len(amount)-2] + "." + amount[len(amount)-2:]
// total := amount[:len(amount)-2] + "." + amount[len(amount)-2:]
// Create payment
p := paypalsdk.Payment{
@ -77,8 +77,8 @@ func CreatePayment(ctx *aero.Context) string {
},
Transactions: []paypalsdk.Transaction{paypalsdk.Transaction{
Amount: &paypalsdk.Amount{
Currency: "USD",
Total: total,
Currency: "JPY",
Total: amount,
},
Description: "Top Up Balance",
}},