• Resolved avinaash23

    (@avinaash23)


    When the price is more than 4 digits, For eg 1250$ in BUSD. Metamask is sending the price with comma. Hence the error, Uncaught Error: invalid BigNumber string (argument=”value”, value=”1,249″, code=INVALID_ARGUMENT, version=bignumber/5.2.0). Please Solve this

Viewing 1 replies (of 1 total)
  • Plugin Support amandeep94

    (@amandeep94)

    Hi there

    Thanks for letting know about the issue.
    For now you can fix it by editing code in follow below file on line no 51 https://prnt.sc/SME-AXsbWT5_
    Replace this code with the marked code ‘in_crypto’ =>str_replace(‘,’, ”, $in_crypto),
    wp-content\plugins\cryptocurrency-payments-using-metamask-for-woocommerce\includes\html\cpmw-process-order.php

    We will also add this fix in our next upcoming update.

    Thanks



Viewing 1 replies (of 1 total)
  • The topic ‘Error when 4 digits Price’ is closed to new replies.