Skip to content

Commit

Permalink
use info.amount on payment; updated .env; #186
Browse files Browse the repository at this point in the history
  • Loading branch information
veeepi committed May 14, 2021
1 parent cfa490b commit e6fd383
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ export const sendPayment = async (info, paymentToken) => {
},
// NOTE: Amount is in CENTS, so multiply by 100
body: JSON.stringify({
// amount: info.amount * 100,
amount: 1,
amount: info.amount * 100,
method: paymentToken,
account_id: TRUST_ACCOUNT_ID, //Live Trust acc key
}),
Expand Down

0 comments on commit e6fd383

Please sign in to comment.