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.
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?
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,
Hello,
the problem has been solved with a custom woocommerce extension.
Thanks for all
Best regards,