agathebauer Posted February 1, 2021 Share Posted February 1, 2021 (edited) Hi Folks I have searched, but nothing found so far. On a shop (1.7.6.7) there is bankwire payment enabled with the 'BANK_WIRE_PAYMENT_INVITE' configured to 'yes'. This shows a summup for the bankwire details on the confirmation page. But the amount there is 0 instead of the order total (see attachments with theme classic and theme warehouse) As it occurs in different themes is seems to be module related. Does anybody else have the same behavior in the shop, or a hint for me what can cause it? Thanks in advance Roger Edited February 2, 2021 by agathebauer (see edit history) Link to comment Share on other sites More sharing options...
agathebauer Posted February 2, 2021 Author Share Posted February 2, 2021 Found it. It was a bug in module ps_wirepayment. I changed in modules/ps_wirepayment/ps_wirepayment.php on line 232 $totalToPaid = $params['order']->getOrdersTotalPaid() - $params['order']->getTotalPaid(); to $totalToPaid = $params['order']->getOrdersTotalPaid(); 1 1 Link to comment Share on other sites More sharing options...
fjratelier Posted April 13, 2022 Share Posted April 13, 2022 Hello agathebauer, Thanks its Works on 1.7.8.4. :) Best Regards, Javi Link to comment Share on other sites More sharing options...
RikMK Posted May 6, 2022 Share Posted May 6, 2022 On 2/2/2021 at 7:51 AM, agathebauer said: Found it. It was a bug in module ps_wirepayment. I changed in modules/ps_wirepayment/ps_wirepayment.php on line 232 $totalToPaid = $params['order']->getOrdersTotalPaid() - $params['order']->getTotalPaid(); to $totalToPaid = $params['order']->getOrdersTotalPaid(); Thanks Agathebauer. Let's hope they fix this when updating the module. Is there a way we can hint your contribution to the module creators? Link to comment Share on other sites More sharing options...
salouso Posted June 20, 2022 Share Posted June 20, 2022 Thanks so much. Works great on 1.7.6.7. Link to comment Share on other sites More sharing options...
Bfn Posted August 4, 2022 Share Posted August 4, 2022 Please stop suggesting this "fix". It fixes the display but doesn’t fix the underlying (broken) logic. See https://github.com/PrestaShop/PrestaShop/issues/25930#issuecomment-953846562 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now