• Hello,

    I have created a custom woocommerce payment gateway, everything is working smoothly, I set the digits after decimals to two digits but whenever the price end with 0, order_total is being trimmed when its being sent to the gateway.

    Example: if the amount is 122.98 the order_total go to the gateway as 122.98 but if the amount is 122.80 the order_total go to gateway as 122.8 and that is an issue with the gateway they need to receive a double digits after decimal. However the prices are showing well on the website the double digits is working even with .00

    Please advise
    Thank you

Viewing 1 replies (of 1 total)
  • hello,
    i saw in one of your previous posts that you’re developing a payment gateway using NetCommerce

    the post is closed so i’m replying here

    i’m trying to do the same and facing a lot of problems
    can i have your email so i can ask you a few question or maybe i can buy the plugin you’ve made

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce is trimming the last 0 from order_total’ is closed to new replies.