tizdaz Posted March 4, 2015 Share Posted March 4, 2015 during checkout in paypal i click continue then i get a blank page except for small text top left of screen that just says fatal error? Any ideas please :-( Link to comment Share on other sites More sharing options...
El Patron Posted March 4, 2015 Share Posted March 4, 2015 You need to turn on PS debug mode to get the underlying reason https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/ then recreate issue, get the error, then you can search for solution. Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 ok will do thankyou 1 Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 ok thats odd! i turned on debug mode & now theres no error, it does what its meant to (returns to my store with order details) !? Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 ive just turned off debug mode & now the error returns? So, when i enable debug mode, the checkout seems to work fine, When i disable debug mode, im getting the Fatal Error on blank screen? Link to comment Share on other sites More sharing options...
El Patron Posted March 4, 2015 Share Posted March 4, 2015 uhm...that is odd...turning on debug mode should not change behavior. I've never seen that before! Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 ok think ive managed to find the error: Notice: Undefined index: PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE in /home/ifmmotoq/public_html/modules/paypal/express_checkout/payment.php on line 91 ? Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 (edited) and heres what i have in my payment php on that line: $address->id_country = Country::getByIso($ppec->result['PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE']); Edited March 4, 2015 by tizdaz (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted March 4, 2015 Share Posted March 4, 2015 I would not think this is the issue, this is just a 'notice' and would not 1) stop script or 2) create a blank screen with 'fatal' Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 but thats the only error showing up ? Link to comment Share on other sites More sharing options...
El Patron Posted March 4, 2015 Share Posted March 4, 2015 with this 'notice' does the order complete or just blank following the message? Facts, charts, screen shots... Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 (edited) hiya, ok this is strange so here goes: it worked again, i didnt change a thing, but straight afterwards tried to do it again & it didnt work, but there was one thing different about the 2 times i tried: everything goes fine until end of checkout via paypal when its supposed to return to my store: heres 1st screen shot, this takes me to paypal logon which works fine. Next i click on "Continue" on this screen within paypal: & this is out come: Now then... i did exactly same thing but the paypal login was slightly different & it worked.. I have no idea why it randomly comes up with either of these logins as they look totally different or heres actual debug mode with the notice/error: Edited March 4, 2015 by tizdaz (see edit history) Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 there seems major isasues with the paypal module, as sometimes it works, sometimes it doesn't without changing a thing! also it randomly points to different login pages :s ? Link to comment Share on other sites More sharing options...
tizdaz Posted March 4, 2015 Author Share Posted March 4, 2015 ok i *think* ive solved the issue... because i was just *testing* i did not use the correct address credntials for the account on which i was testing on such as City & Post Code, instead i just had random text in those fields. Therefore im guessing that when going through checkout via paypal.... Paypal must somehow verify the address as when i put the correct details in, its now working fine. Anyway touch wood i hope this was the problem as ive been banging my head against the wall almost!! Thanks so much for help, will keep this open for a little while incase this wasnt the problem! 1 Link to comment Share on other sites More sharing options...
Guest locen Posted January 29, 2016 Share Posted January 29, 2016 Hi, i have some customers that have problems with paypal payment. they show FATAL ERROR and the are direct on my website. These customer are from India. Anyone can help me? I have these problems since yesterday 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