Jump to content

PayPal 3.5.5 Payment.php error


KingsRoad

Recommended Posts

Hello,

 

My store is pretty much set up and ready to go. The only problem? The PayPal module. I have already tried numerous things to attempt to get this to work, one of which worked for perhaps a day until the error returned.

 

Everything in this process works perfectly, you add your product to cart, proceed to checkout, agree to the terms and conditions, click on the PayPal payment option, you're redirected to the PayPal payment page, enter in your details and continue to confirm the payment. This is where the error happens. PayPal redirects me back to a link in this format = http://xxxxxxxxxxx/m...D=93J2UWQV534PC . Now, this page is completely blank, on FireFox I have tried to 'Inspect Element' and it gives me nothing, there isn't even any HTML code on the page (see the ERROR.png)... After I refresh this page it loads up with an Error, it states Error Occured and then states below that 'Please try to contact the merchant.'. After this it gives a PayPal response, where I am able to see all sort of details such as name, address, what I've bought, for how much etc, I am even able to see that it says payment accepted! (see ERROR2.png, ERROR3.png, and ERROR4.png)

 

post-611640-0-64275100-1373017465_thumb.pngpost-611640-0-42767400-1373017466_thumb.pngpost-611640-0-56592700-1373017467_thumb.pngpost-611640-0-40700700-1373017468_thumb.png

 

I did some research and found that one other had fixed this by increasing the memory_limit to 64m and max_execution_time to 60 in php.ini via SSH. This worked for perhaps a day, if that. These are my server settings via 'Configuration Information';

Server information

 

Server information: Linux #1 SMP Tue Feb 21 20:06:06 EST 2012 x86_64

Server software version: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.3.26

PHP version: 5.3.26

Memory limit: 64M

Max execution time: 60

 

I am running PrestaShop 1.5.4.1 with the free PayPal 3.5.5 module.

 

If anyone is able to help I will be extremely grateful, I have already posted this to PrestaShop Forge support (http://forge.prestas...4#comment-74974), and I believe they are looking into this, but I was wondering if anyone had experienced this before and had fixed it, or anybody is currently experiencing it also looking for a fix.

 

 

Many thanks,

Elliot

Edited by KingsRoad (see edit history)
Link to comment
Share on other sites

I'm on my own dedicated server. I got tired of trying numerous fixes to this problem, simply deleted the cPanel account, created a new one and built from scratch, it now seems to work touch wood... Even though I started from a clean installation after receiving the problem on the old cPanel account.

Link to comment
Share on other sites

  • 2 weeks later...

No, the error still exists. I really do not know where to go with this, I have moved it to a different cPanel account and it worked for around a week, now out of the blue it stops working, as does bank wire validation and cheque validation.

 

This is the error I get now after turning debug on;

 

 

Fatal error: Uncaught exception 'PrestaShopException' with message 'Property OrderDetail->download_deadline is not valid' in /home/lovemygi/public_html/classes/ObjectModel.php:837 Stack trace: #0 /home/lovemygi/public_html/classes/ObjectModel.php(265): ObjectModelCore->validateFields() #1 /home/lovemygi/public_html/classes/ObjectModel.php(465): ObjectModelCore->getFields() #2 /home/lovemygi/public_html/classes/ObjectModel.php(427): ObjectModelCore->add(true, false) #3 /home/lovemygi/public_html/classes/order/OrderDetail.php(589): ObjectModelCore->save() #4 /home/lovemygi/public_html/classes/order/OrderDetail.php(613): OrderDetailCore->create(Object(Order), Object(Cart), Array, 2, 0, true, 0) #5 /home/lovemygi/public_html/classes/PaymentModule.php(277): OrderDetailCore->createList(Object(Order), Object(Cart), 2, Array, 0, true, 0) #6 /home/lovemygi/public_html/override/classes/PaymentModule.php(9): PaymentModuleCore->validateOrder(20, 2, 0.01, 'PayPal', 'Payment accepte...', Array, 1, false, 'b171213fbd3998a...', Object(Sh in /home/lovemygi/public_html/classes/ObjectModel.php on line 837

 

 

I get an error with the ObjectModel.php when trying to do an order through bankwire also.

 

I really hope there is a simple solution to this.

Edited by KingsRoad (see edit history)
Link to comment
Share on other sites

You have an override on the PaymentModule class... Why?

 

 

 

Once you figure out what the override is doing, you will likely understand why you are getting the error

 

It is part of a module which I purchased. This error occurred before this module and override however.

Link to comment
Share on other sites

Hi KingsRoad, could you explain a little more about the problem? What do you mean?

 

I had set the expiration date on the virtual downloads to a date which was ridiculously high, which I didn't realise I had done (I believe it was near the year 25604...). This caused the error.

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