Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem setting Paypal email


beller

Recommended Posts

Posted

I just did a fresh install and I'm in the process of going through the Admin setup. When I go to modules/payments and select install Paypal, everything looks good. When I click edit, update the email, and save it(update) it doesn't save me info.

 

 

Is this a glitch? Am I doing something wrong? How do I fix it? :-"

Posted

Do other settings get modified? i.e. When you try to disable/enable the Paypal modue, does it record the change?

 

Also, try changing currency, zone, order status etc.

 

It could be a database problem.

 

Amit

 

I just did a fresh install and I'm in the process of going through the Admin setup. When I go to modules/payments and select install Paypal, everything looks good. When I click edit, update the email, and save it(update) it doesn't save me info.

Is this a glitch? Am I doing something wrong? How do I fix it? :-"

Posted

Thanks for your reply!

 

 

I tried disabling it and enabling it, but that doesn't fix it. Tried messing with the other settings and it doesn't set.

 

 

 

 

 

Do other settings get modified? i.e. When you try to disable/enable the Paypal modue, does it record the change?

 

Also, try changing currency, zone, order status etc.

 

It could be a database problem.

 

Amit

Posted

So if I understand correctly, when you change the other settings, those do not get saved, either?

 

Looks like your database may have problems, specifically the table associated with the Paypal module.

 

All the fields related to Paypal module are in the Configuration Table. Check if those fields to exist in the Configuration table. The Paypal-related fields start with "MODULE_PAYMENT_PAYPAL....."

 

Also, I would recommend you try to replace the paypal.php file in the catalog/includes/modules/payment/ folder.

 

Let me know if this works for you.

 

Thanks for your reply!

I tried disabling it and enabling it, but that doesn't fix it. Tried messing with the other settings and it doesn't set.

Posted
I just did a fresh install and I'm in the process of going through the Admin setup. When I go to modules/payments and select install Paypal, everything looks good. When I click edit, update the email, and save it(update) it doesn't save me info.

Is this a glitch? Am I doing something wrong? How do I fix it? :-"

I think I know what the problem is...

This fix came from the STS contribution, the recent release of osCommerce 060817 they said had a problem with with being able to activate the the STS module and that was the fix. Here is the STS Contribution...lol they just released 4.3 I just installed 4.2 yesterday.

 

Anyhow, open up admin/includes/functions/compatibilty.php and add at the end of the function do_magic_quotes_gpc add reset ($ar);

So in the end it will look like...

 

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);
 }

Archived

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

×
×
  • Create New...