• Resolved arcynet

    (@arcynet)


    Hello,

    I am using woocommerce for my store.
    The amount I receive in the payment system is divided by 100.
    I want the plugin to automatically multiply all amounts by 100 when the order is validated

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The amount I receive in the payment system is divided by 100.

    I’m not quite sure what you mean by this. Can you please send us a screenshot of what that looks like?

    I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply. It works with Chrome, Firefox and Edge.

    Thread Starter arcynet

    (@arcynet)

    Hi,

    https://snipboard.io/e7JUs0.jpg
    https://snipboard.io/vnsz9y.jpg

    the amount displayed is $ 450. But when I validate the order I get $ 4.50. I want to keep the same initial amount $ 450
    The woocommerce plugin must multiply by 100 before sending to the API.

    Best regards,

    Hey @arcynet

    Is your product set to $450 as the retail price or is it set as $4.50?

    It sounds like you are using a plugin or have set up some sort of API to do this? It may help if you give a bit more context.

    – What plugin are you using?
    – How is this setup on your site?
    – Do you have any custom code already?
    – How is this supposed to be working?

    Thread Starter arcynet

    (@arcynet)

    Hi,

    the product is set at $ 450 and not at $ 4.50.
    But when the amount is sent to the API, the API divides it by 100 instead of keeping the original amount.
    I will want to multiply the amount by 100 when sending to receive the same amount in the API.
    I want to modify the woocommerce code in order to multiply the price by 100 when we click on the button to validate the order.

    Like this ticket : https://ww.wp.xz.cn/support/topic/charge-amount-off-by-100/

    I am using the woocommerce plugin

    Best regards,

    Thread Starter arcynet

    (@arcynet)

    Hello,

    the problem has been solved with a custom woocommerce extension.
    Thanks for all

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘plugin multiplys it by 100’ is closed to new replies.