Forum
Perch PayPal Shop - Suddenly Not Working
Hi guys,
We put a site live that was using the Perch PayPal Shop App recently, and the checkout has suddenly stopped functioning.
It was working a couple of days ago (11th September is the last confirmed order), but now when you go to add a product to cart, it redirects you to PayPal (as expected), but then reports that "Your Cart is Empty".
To our knowledge, nothing has changed on the site since we put it live around the 7th of September - does anyone know of any reason that this has fallen over?
Thanks, Harry
EDIT: Forgot my diagnostics report, if it helps:
Perch: 2.8.31, PHP: 5.4.13, MySQL: 5.5.30, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_shop_paypal (1.2.3), perch_forms (1.8.3), perch_blog (5.0), perch_comments (1.2), perch_members (1.5), perch_twitter (3.5.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_members', 'perch_twitter', 'perch_forms', 'perch_comments', 'perch_shop_paypal' );
PERCH_LOGINPATH: /cms
PERCH_PATH: /var/www/vhosts/activegloucestershire.org/httpdocs/cms
PERCH_CORE: /var/www/vhosts/activegloucestershire.org/httpdocs/cms/core
PERCH_RESFILEPATH: /var/www/vhosts/activegloucestershire.org/httpdocs/cms/resources
Image manipulation: GD Imagick
PHP limits: Max upload 128M, Max POST 8M, Memory: 128M, Total max file upload: 8M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
SCRIPT_NAME: /cms/core/settings/diagnostics/index.php
REQUEST_URI: /cms/core/settings/diagnostics/
DOCUMENT_ROOT: /var/www/vhosts/activegloucestershire.org/httpdocs
HTTP_HOST: www.activegloucestershire.org
Something will have changed, code can't self destruct :) So either that is on your server, or at the PayPal end or the data being sent is different but you will need to figure out what happened to make it stop working.
Is it working in your development environment?
Hi Rachel,
Sure - But as far as the timestamps on the server go, and as far as us making any changes - nothing!
I've logged in and checked the IPN URL specified inside the client's PayPal account, and that's still correct.
Nope, not working in development either!
If it isn't working in development you can turn on debug and start to step through the process to isolate what is happening. So that would be the first thing to do.
Okay - thanks!
Do you have any idea at this stage of what might have caused this?
I can see that PayPal has gone through a look-and-feel type change since we launched the site, I'm not sure if that update had any technical implications but I take it that an update on the PayPal side of things could have caused this issue?
EDIT - Perch Debug Output
I'm not really finding anything in the debug output - there are two unrelated errors, but they would have been present since launch.
No I don't have any ideas - things don't just stop working, something has changed. So we'll need more information - unfortunately when working with a third party like PayPal you will have to do some detective work.
Hi all,
It's started working again this morning, according to the client.
Thanks for the help.