fixing stripe errors on amounts

This commit is contained in:
Arjun Patel
2019-03-16 13:38:34 -07:00
parent f99b8fce30
commit 661828bab2
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ exports.grantCharge = async ({
});
let transfers = await organizations.map(async org => {
let stripeOrgAmount = Math.round(org.amount * 100 * 100) / 100;
let stripeOrgAmount = Math.round(org.amount * 100);
const applicationStripeFee = stripeOrgAmount * 0.05;
let t = await stripe.transfers.create({