mageprince / magento2-paymentfee

Magento 2 Payment Fee by MagePrince helps admin to set payment fees to charge customers for selecting a specific payment method to complete their order from all available payment methods.
25 stars 19 forks source link

Failed to create Order Request: Warning: Division by zero in #20

Closed Sendurrr closed 2 years ago

Sendurrr commented 2 years ago

Hi,

We installed the extension and configured it. But somehow on a payment provider which we did not apply the extension on is now giving issues. See attached logging.

[2021-10-01 11:42:08] MultiSafepay.ERROR: (Order ID: 195857 ) Failed to create Order Request: Warning: Division by zero in /home/xxxxx/public_html/vendor/multisafepay/magento2-core/Model/Api/Builder/OrderRequestBuilder/ShoppingCartBuilder/CustomTotalBuilder.php on line 156 [] []

Sendurrr commented 2 years ago

Some information found here:

https://www.gitmemory.com/issue/MultiSafepay/magento2/11/814101726

I do not want to delete the Mageprince extension. Is there a way to solve this?

mageprince commented 2 years ago

Hi @Sendurrr, it would be good if you provide more information and a video of the issue.