Jump to content

Invoice Created At New Order But Not Recognised


Recommended Posts

Hi all,

 

I have stumbled upon some kind of bug.

 

Sometimes, when an order is created (I think it has something to do with guest accounts, because it happened with two guest orders), it creates an invoice, but this invoice is not recognised as an actual invoice.

 

When I click on the order, it says it has no invoice. But when I select the documents tab, I can see the invoice there. See attached image.

 

Does anyone know a fix for this and how to prevent it in the future?

 

Thanks in advance,

 

Richard

 

post-765308-0-57780700-1448612956_thumb.jpg

 

Link to comment
Share on other sites

Well, it started occurring when my host upgraded from PHP 5.3/5.4 to 5.6.

 

That's the only thing that has been changed in the past days. I never had this before. I'm using prestashop 1.6.1.0

 

My (seemingly important) overrides:

 

AdminStoresController.php

AdminAttributesGroupsController.php

StoresController.php

SearchController.php

ProductController.php

IndexController.php

CategoryController.php

 

classes: 

PDFGenerator.php

PDF.php

OrderPayment.php

OrderInvoice.php

Order.php

 

But this has never been a problem till the PHP upgrade.

Link to comment
Share on other sites

×
×
  • Create New...