jasoninatx Posted April 4, 2014 Share Posted April 4, 2014 I can buy something from my store, but after submitting my credit card info, the screen just goes blank. I get an email confirming the order was approved and the back office of prestashop confirms the order as well. However, if I'm a customer, I'd want something to pop up on the screen confirming that the order has been processed and a "thank you for your order" message would be nice too. A blank screen makes you think it didn't go through. What am I missing? Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted April 5, 2014 Share Posted April 5, 2014 Try enabling error reporting as described in my signature. Do you get this with every payment module? Link to comment Share on other sites More sharing options...
bellini13 Posted April 5, 2014 Share Posted April 5, 2014 what payment module are you using for credit card payment? Link to comment Share on other sites More sharing options...
jasoninatx Posted April 7, 2014 Author Share Posted April 7, 2014 Try enabling error reporting as described in my signature. Do you get this with every payment module? Hey Nemo1, after enabling error reporting as described in your signature, I no longer get a blank screen, but I now get a screen with this message: Fatal error: Call to undefined method Tools::file_exists_no_cache() in /home/herbbar/public_html/shop/tools/tcpdf/tcpdf.php on line 1957 The order still goes through successfully, so that's good. I'm using the Authorize.net payment module and it's the only payment option we're using. We aren't accepting checks or wires or any other method of payment. Link to comment Share on other sites More sharing options...
jasoninatx Posted April 7, 2014 Author Share Posted April 7, 2014 what payment module are you using for credit card payment? We are using the Authorize.net payment module. Link to comment Share on other sites More sharing options...
bellini13 Posted April 7, 2014 Share Posted April 7, 2014 Which version of Prestashop are you using? The issue does not appear to be with the payment module, but rather with the tcpdf library that is packaged with Prestashop. It is trying to use a function that does not exist. Link to comment Share on other sites More sharing options...
jasoninatx Posted April 7, 2014 Author Share Posted April 7, 2014 I'm using 1.5.4.1. It sounds like an upgrade is in order. Link to comment Share on other sites More sharing options...
bellini13 Posted April 7, 2014 Share Posted April 7, 2014 An upgrade is not required, and is way overkill for this issue I checked a fresh install of PS v1.5.4.1, and the code that is referenced in your error does not exist. In fact, there are no references to the Tools class within the tcpdf class. However in PS v1.5.6.2, this code does exist. So I suspect you or someone else has altered this file, or perhaps tried to restore from a later Prestashop version. Maybe even a failed auto upgrade attempt? I believe you can fix the problem by simply putting the correct file back into place. I would suggest you download the original PS v1.5.4.1 release, extract it to your hard drive, and locate the file /prestashop/tools/tcpdf/tcpdf.php Copy this file to your Prestashop store using the same folder structure, and your problem should be solved. Assuming there are no other files that were updated like this, it should work properly. 2 Link to comment Share on other sites More sharing options...
jasoninatx Posted April 8, 2014 Author Share Posted April 8, 2014 You were correct, Bellini on all accounts. Consider this issue "solved". Thanks for everybody's help. Link to comment Share on other sites More sharing options...
bellini13 Posted April 9, 2014 Share Posted April 9, 2014 good stuff. Please edit your original topic and change the subject line to include "Solved" (do this in full edit mode). Feel free to like my original reply 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