Jump to content
Sign in to follow this  
resshin

PayPal settings are not being saved

Recommended Posts

Hi.

 

The problem that I am having is that when I go change the settings in the PayPal module (such as changing the email from the default one) and go and click Update, the changes aren't being saved.

 

This happens to other payment modules as well as the shipping modules. I don't have the same problem with anything else.

 

I've been trying to figure this out, but so far nothing :angry:.

 

I was wondering if anyone had the same problem, if so how did you go around fixing this.

 

Any help is appriciated.

 

Please, please help :'(

Share this post


Link to post
Share on other sites

hi,

 

I have the same problem with the 'oscommerce paypal IPN v1.3 contribution'.

 

Does anybody solve the problem and could help us?

 

thx in advance.

 

anathema

Share this post


Link to post
Share on other sites

Same Problem here please need a FIX. I also called Paypal and they have no Idea tryed change the files to 777. Also did a fresh install same thing!!!

 

Thanks,

 

Adam

Share this post


Link to post
Share on other sites

I was having the same problem!

 

The update of any payment or shipping module attributes failed. I could see the attibutes in the database and edit them manually with phpmyadmin but no changes were saved if I hit the update button in the admin tool.

 

I figured it had to be a bug or error in the admin tool itself rather than the module and with a little poking I found the problem is with a line in the /catalog/admin/modules.php file.

 

the line :

while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {

does not execute on my system, even tho' the syntax looks correct to me!

 

I simply commented that line out and replaced it with the simple line:

 

foreach ($HTTP_POST_VARS['configuration'] as $key => $value){

 

which is a much easier way of doing the exact same thing the original line is supposed to do.

 

then all was fine.

 

 

Hope this helps as I searched then net for a solution and found nada!

 

 

Cheers,

Brett

Edited by brett.howard

Share this post


Link to post
Share on other sites

If you have this error and this fix works for you, please post your system configuration and phpinfo output, I would like to work out why the original statement fails on some machines!

 

Cheers,

Brett

Share this post


Link to post
Share on other sites
If you have this error and this fix works for you, please post your system configuration and phpinfo output, I would like to work out why the original statement fails on some machines!

 

Cheers,

Brett

 

 

YESSS!!! This finally solved my problem after searching for a very long time. MANY THANKS.

 

Database: MySQL 4.1.13-Max

HTTP server: Apache/2.2.0 (Linux/SUSE)

PHP version: 5.1.2 (Zend: 2.1.0)

Share this post


Link to post
Share on other sites
If you have this error and this fix works for you, please post your system configuration and phpinfo output, I would like to work out why the original statement fails on some machines!

 

Cheers,

Brett

Ok here is what I've found out. When I fixed this module in a Windows Server, the quick fix worked fine. I don't think this works on a linux server... I tried the code and it just won't work. I also noticed that the sample was missing a ) at the end of the statement is this correct?

anyone?

One more note: I am working on a Linux Server with Apache and Cent OS, can that be the problem?

Edited by nuevohost01

Share this post


Link to post
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
Sign in to follow this  

×