diondp Posted October 24, 2012 Share Posted October 24, 2012 (edited) Hi There, i have adapted the bankwire module to be a credit-invoice, for this i need to change a setting for this... as of now, when an order is recieved, the database field: ps_orders.valid is set to 1, i need this to be 0 as i update it to valid later on... any idea where to change this code ? i have looked in all the files for bankwire module, and paymentmodule class, but did not find anything updating valid to 1. Edited October 24, 2012 by diondp (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted October 24, 2012 Share Posted October 24, 2012 i'm fairly confident that valid is associated to the order status. in the back office, go to Order | Status, and edit the "Awaiting bank wire payment" status, or which ever status that you are using when payment is first received. uncheck the box that says "Consider the associated order as validated" Link to comment Share on other sites More sharing options...
diondp Posted October 24, 2012 Author Share Posted October 24, 2012 (edited) i have unchecked that box ;-) but it still gets in as valid in the database. - aarh... sorry it was my bad, i had not unchecked the right one :-) Edited October 24, 2012 by diondp (see edit history) 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