Jump to content

[solved] No amount in bankwire summary on confirmation page


agathebauer

Recommended Posts

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

ss_teuscher_confirmation_page.jpg

ss_teuscher_confirmation_page_warehouse.jpg

Edited by agathebauer (see edit history)
Link to comment
Share on other sites

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();

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 1 year later...
  • 4 weeks later...
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

  • 1 month later...
  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...