diff --git a/functions/routes/ecom/modules/create-transaction.js b/functions/routes/ecom/modules/create-transaction.js index 065dfbd..58d1eac 100644 --- a/functions/routes/ecom/modules/create-transaction.js +++ b/functions/routes/ecom/modules/create-transaction.js @@ -94,7 +94,7 @@ exports.post = ({ appSdk, admin }, req, res) => { amount: amount.total } - const finalAmount = Math.floor((amount.total).toFixed(2) * 1000) / 10 + const finalAmount = Math.floor(amount.total * 100) const fristPayment = new Date() const galaxpaySubscriptions = {