Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant change paypal email


kayotics

Recommended Posts

Hey does anybody know why when i go to modify the Admin/Payment Modules the email address for the paypal account it keeps setting back to the default [email protected]???

 

Any help would be much appreciated.

 

Thanks,

 

John

John, If you are using the latest version of osCommerce (060817), then this is a known bug in the modules section not refreshing with the updated changes.

 

1. Open the catalog/admin/includes/functions/compatibility.php.

2. At the end of the “do_magic_quotes_gpc” routine, add the following code

 

reset($ar);

 

It will end up looking like this:

 

function do_magic_quotes_gpc(&$ar) {
if (!is_array($ar)) return false;
while (list($key, $value) = each($ar)) {
if (is_array($ar[$key])) {
do_magic_quotes_gpc($ar[$key]);
} else {
$ar[$key] = addslashes($value);
}
}
reset($ar);
}

3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

  • 3 months later...
Hey does anybody know why when i go to modify the Admin/Payment Modules the email address for the paypal account it keeps setting back to the default [email protected]???

 

Any help would be much appreciated.

 

Thanks,

 

John

 

John I've got the same issue - and I'm a newbie to php - can you give a bit more detail? Not really sure where the do_magic_quotes_gpc routine ends and the next begins.

 

Thanks in advance for the reply.

 

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...