stoo_s Posted October 30, 2016 Share Posted October 30, 2016 A bit of a strange one this. We've noticed that our invoices suddenly have an extra box with bank wire details outlined in it. The box is blank except for titles such as 'Bank Name' 'BIC' etc. I've had a look at the invoice.tpl file but there's no mention of it in the code. We recently added a paypal module - could this be doing it? Could another module be generating it? It's never been there before. Any help in making it disappear would be much appreciated. Stuart Link to comment Share on other sites More sharing options...
eleazar Posted October 30, 2016 Share Posted October 30, 2016 This is one of the bugs of the new Paypal module. As long as the developer 202 ecommerce doesn't fix it, you should reinstall the previous release 3.10.10. I provided a download link here: paypal_3-10-10.zip Link to comment Share on other sites More sharing options...
markaussie Posted October 30, 2016 Share Posted October 30, 2016 Hi, Had same issue with this showing on invoice as a work around I excluded that part from within pdf/invoice.tpl It's located at the bottom of the invoice.tpl file Add <!-- between code below --> or just delete that code and save. Test - view invoice back office for relevant order. Note: when you upgrade prestashop this mod will be changed back. <!-- <tr> <td colspan="2"> </td> <td colspan="10"> {$HOOK_DISPLAY_PDF} </td> </tr> --> If using latest paypal module you may want to check below. The paypal/cards logo at the checkout (payment options) may not be displayed (No image) incorrect image path (region specific issue). 1 Link to comment Share on other sites More sharing options...
eleazar Posted October 30, 2016 Share Posted October 30, 2016 @markaussie I would not recommend to delete or disable this code in invoice.tpl. This hook needs to be active for other purposes,too. Link to comment Share on other sites More sharing options...
markaussie Posted October 30, 2016 Share Posted October 30, 2016 Like? Link to comment Share on other sites More sharing options...
eleazar Posted October 30, 2016 Share Posted October 30, 2016 This is a hook that allows the display of extra information in the PDF invoice, used for instance by modules that provide legal compliance with a country's trade laws, or by payment modules - in this case by the Paypal module. Link to comment Share on other sites More sharing options...
stoo_s Posted October 30, 2016 Author Share Posted October 30, 2016 I think I'll have a go at installing the old module as I'm having a number of issues with the current module anyway so it'll be interesting to see if it sorts those out too. No invoices are being generated when someone pays with paypal and the 'payment' information block in the 'orders' section of the back office is blank, as if no payment has been received. I can update it manually but the module should be doing it automatically. This module has caused nothing but trouble, driving me crazy! Link to comment Share on other sites More sharing options...
markaussie Posted October 30, 2016 Share Posted October 30, 2016 Thanks eleazar, appreciated. Only seen this utilised with latest paypal module in my situation. Doesn't even show anything on invoice when payment is from bank wire. You suggested load old module with bugs, I suggested remove code on invoice to hide one of the bugs. None are great options. What's more important is why is the module faulty and not fixed as an official prestashop module on addons site........... 1 Link to comment Share on other sites More sharing options...
stoo_s Posted October 31, 2016 Author Share Posted October 31, 2016 Well I've installed the older version and that has taken care of the issue of a bank box appearing on the invoice, so thanks Eleazar. But, all the other issues still remain. The customer instantly receives a 'payment confirmation' and an 'ordered dispatched' email even though the order has not been updated to dispatched. No payment method is recorded in the 'orders' section of the back office and the stock isn't being decreased in the warehouse. I know it's a free module and I shouldn't complain but I'm sick of having to change code in modules to make them work properly. 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