Peace2017 Posted May 15, 2018 Share Posted May 15, 2018 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 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