Problem With Payment Through Stripe Related To The Amount Of Products That have Decimals - Question | JoomShaper

Problem With Payment Through Stripe Related To The Amount Of Products That have Decimals

Davelia

Davelia

EasyStore 3 months ago

Hello,

I have a problem with payment through Stripe related to the amount of products that have decimals.

As you can see in the first image that I send you, a product has a cost of €17.50, and in total the purchase amount is €437.50. The second image corresponds to the previous checkout step in Stripe, and so far so good. In the third image we are already in the Stripe checkout and the cost of the product is €17.00 instead of €17.50, which totals €425.00 instead of the initial €437.50. https://hormigonpolimero.es/images/soporte/Pantalla-1.png

https://hormigonpolimero.es/images/soporte/Pantalla-2.png

https://hormigonpolimero.es/images/soporte/Pantalla-3.png

We have raised this issue with Stripe and they have told us: "To avoid this issue in the future, I would recommend that instead of directly passing a specific amount, you use the relevant Price ID when logging into Checkout. This will ensure "Make sure the amounts are accurate and avoid confusion with rounding. I would recommend reviewing the settings or code used to pass the amounts when logging into Checkout and make sure they are being passed correctly."

Please tell me what kind of solution we can have with the EasyStore Stripe plugin.

Thank you very much and best regards.

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 months ago #149585

Hello Davelia

I have answered one of your post. I think it is the same issue. Let's continue discussing on that thread.

Best regards

0
Davelia
Davelia
Accepted Answer
2 months ago #149703

Hello, Ofi.

This question really has nothing to do with this forum thread that you told me about, but with this other one: https://www.joomshaper.com/forum/question/31015

I followed your partner's instructions, but you can continue in the thread you prefer.

Here I comment that when exchanging the decimal system in the EasyStore configuration to the Spanish way, that is, using the "." for thousands and the "," for decimals, when connecting to Stripe it does not seem to correctly send the amounts in decimals so the total that the customer pays is not correct, since the resulting operation eliminates the decimals. For a single quantity of product this does not seem to be very relevant, but when a customer buys 30 units of the same product, the difference in the total is important.

If you need more information, do not hesitate to comment.

Thank you very much and best regards,

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #152538

Please check the latest update and test your issue. If you still find the issue, then let me know. Share details of your issue by providing screenshots. I will talk to the development team about it.

0
Davelia
Davelia
Accepted Answer
1 month ago #153015

Hello, Ofi.

Unfortunately the problem persists after updating to EasyStore 1.0.10.

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #153091

Please delete your previously set up payment gateways and then add them again. If this does not solve your issue, then share some screenshots here to check it. You can take screenshots and share via any platforms. For example: Lightshot or Imgur

0