Jump to content

can wire transfer accept my new state?


Recommended Posts

The payment method Wire transfer accepts three status ids to show wire transfer instructions:

modules/bankwire/bankwire.php

$state = $params['objOrder']->getCurrentState();
if (in_array($state, array(Configuration::get('PS_OS_BANKWIRE'), Configuration::get('PS_OS_OUTOFSTOCK'), Configuration::get('PS_OS_OUTOFSTOCK_UNPAID'))))

I have a new status but the payment method should be Wire transfer like before.
I can't find a hook or something to have this if clause extended to also check my new status id. Bmecause currently it throws me an error on the order confirmation page since my new state is not accepted in this 'if'.

Thanks for any hint.

Link to comment
Share on other sites

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...