Following on from ihungil's post, try this in /includes/init_includes/init_customer_auth.php
Change (around line 70)
PHP Code:
switch (true) {
/**
* bypass redirects for these scripts, to processing regardless of store mode or cust auth mode
*/
case (preg_match('/ipn_main_handler\.php$/', $_SERVER['SCRIPT_NAME'])):
case (preg_match('/ajax\.php$/', $_SERVER['SCRIPT_NAME'])):
break;
to this
PHP Code:
switch (true) {
/**
* bypass redirects for these scripts, to processing regardless of store mode or cust auth mode
*/
case (preg_match('/ipn_main_handler\.php$/', $_SERVER['SCRIPT_NAME'])):
case (preg_match('/ajax\.php$/', $_SERVER['SCRIPT_NAME'])):
case (preg_match('/shipstation_zc\.php$/', $_SERVER['SCRIPT_NAME'])):
break;
Backup first!
Bookmarks