Jump to content

[SOLVED] my payment module stopped working on upgrade


Recommended Posts

I had someone build a payment module which I set up ok for v1.2.5.
Since upgrading to 1.3.1.1, it no longer works properly.
The developer is no longer supporting it, so I'm looking for help to fix it - I don't it should be much to fix, but finding the problem is taking me time!!

The actual payment goes through fine, but the orders do not show up in the back end. However, they are still locatable via the customer carts.

The problem seems to be that the invoice number and invoice date are not passing through properly.
If i look at the database table for ps_orders, i can see these columns are empty, whereas previously they had a number and date. Where do I get and pass these values across?
Can anybody here give me a pointer?

Link to comment
Share on other sites

i found the solution, after installing firephp - a good debugging tool.

After upgrading, the replacement config file 'defines.inc.php' had removed my custom payment definition line, used when adding an order and giving it an order state.

eg

/* Order States */ 
...
define('_PS_OS_CUSTOMPAY_',   12);



Unfortunately, it didn't solve the problem that no invoices were created for the orders that had been paid for during this time when it was not working. I think I will have to live with that...unless you have a better idea!

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