Skip to content

Commit

Permalink
fix(create-transaction): corrects the final price to create the trans…
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
wisley7l committed Jan 10, 2024
1 parent 0ad857a commit a7d7fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/routes/ecom/modules/create-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit a7d7fce

Please sign in to comment.