If this is your first visit, check our documentation. To post, register or login.
Forums / PayPal Express Checkout support / Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

Locked

Started by davemehta on 7 Jul 2009, 8:32 PM · Views: 3,367

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
7 Jul 2009, 8:32 PM
#1
davemehta avatar

davemehta

Zen Follower

Join Date:
Aug 2005
Posts:
130
Plugin Contributions:
0

Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

Ok, so I had Paypal Express Checkout set before with another account and I went to change it to my new account (with a new API username, API password, and API signature). I replaced the current values, clicked save and I assumed it worked. I tried a test and I found I had an error.

Upon further review, it didn't save my new settings and still kept the old info. So I figured I needed to "Remove" the module completely. I did so and then went back and click "Install" for Paypal Express Checkout and entered in the new username, pw and sig. I entered all this correctly, clicked save and the screen refreshed with the main admin home (not just back on the payment modules page).

I used to the menu and went back to the Payment Modules page and to my surprise none of the settings I had entered had been saved and it still showed as "Not Configured".

Why won't it save? I haven't messed with anything that would cause this. Do I need to chmod a file or something?

Thanks for the help!

7 Jul 2009, 8:38 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

davemehta:

... I entered all this correctly, clicked save and the screen refreshed with the main admin home (not just back on the payment modules page)...
That is perfectly symptomatic of incorrectly installing the recent admin security patch ... the most common problem people have had with installing the patch is that they aren't putting the files into the proper folders, or aren't successfully uploading the changes to their server: http://www.zen-cart.com/forum/showthread.php?t=130161 ... and when applied wrong, they either get a blank admin screen or their settings won't save and they get redirected back to the admin home page instead.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Jul 2009, 8:50 PM
#3
davemehta avatar

davemehta

Zen Follower

Join Date:
Aug 2005
Posts:
130
Plugin Contributions:
0

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

DrByte, thanks for the prompt reply! You NAILED IT!!! I usually follow these steps when I install the security patch (I've done that for several of my Zen sites):

(a) rename the html_output.php file to something like html_output.138s1.php in the folder on my computer so that the html_output.php file on the server isn't overwritten (this way I can make a backup of it)
(b) upload all the files into the admin folder with the same directory structure as in the zip
(c) go to admin/includes/functions/ and rename my old html_output.php to html_output.138a.php for a backup and rename the new html_output.138s1.php file to html_output.php. Thus the new html_output.php file is the one used.
(d) change the name of the admin folder to a custom name
(e) edit /admin/configure.php to make note of the new name I used for the admin folder

---> I overlooked step (c)! I forgot to rename the new html_output.php file so it was still using the old one. Thanks for the quick help and have a good one :-)

7 Jul 2009, 9:59 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

You're welcome.

Something to keep in mind ... be very careful when renaming your backup/temp files with a ".php" extension ... some Zen Cart folders are "magic" folders in that they autoload all files ending in ".php" ... which could in some cases cause problems. So ... maybe consider a different extension as a general rule, unless you know for sure that the folder you're working in is not an autoload folder. I usually use ".php1" instead of ".php", as it's still familiar enough to my eye that I don't get confused by the rename.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Jul 2009, 2:00 PM
#5
ruanchao avatar

ruanchao

New Zenner

Join Date:
Jul 2009
Location:
CA of USA
Posts:
24
Plugin Contributions:
0

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

OK, it's very useful to me.

Thank you!

17 Sep 2009, 12:52 AM
#6
ttrageser avatar

ttrageser

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

I'm having a similar issue with admin settings not being saved. I applied my patches quite awhile back, but didn't notice this problem until recently. Assuming one messed up, how do I go about fixing it?

17 Sep 2009, 2:16 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

ttrageser:

I'm having a similar issue with admin settings not being saved. I applied my patches quite awhile back, but didn't notice this problem until recently. Assuming one messed up, how do I go about fixing it?
You need to go back and install the patch correctly. ie: follow the instructions exactly, putting all 5 files in the places indicated, noting that ALL of them go under the admin folder in their respective locations.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Sep 2009, 2:06 AM
#8
ttrageser avatar

ttrageser

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

DrByte:

You need to go back and install the patch correctly. ie: follow the instructions exactly, putting all 5 files in the places indicated, noting that ALL of them go under the admin folder in their respective locations.

Okay, thanks. That I can do. But if I accidentally put one in the wrong folder before, is that going to be a problem? Or is it okay as long as they are now all in the right folder? Does that make sense? In other words, if I messed up, I may not have any idea what I did wrong and may not catch the errant file.:oops:

18 Sep 2009, 3:52 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

ttrageser:

Okay, thanks. That I can do. But if I accidentally put one in the wrong folder before, is that going to be a problem? Or is it okay as long as they are now all in the right folder? Does that make sense? In other words, if I messed up, I may not have any idea what I did wrong and may not catch the errant file.:oops:
That's why you made backups of all the files you touched before touching them, right? I think that's why the install instructions talked about making a backup first ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Sep 2009, 8:34 PM
#10
ttrageser avatar

ttrageser

New Zenner

Join Date:
Mar 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

DrByte:

That's why you made backups of all the files you touched before touching them, right? I think that's why the install instructions talked about making a backup first ...

Of course I did. But then when everything seemed to work fine for weeks on end, they were overwritten by new backups.

18 Sep 2009, 8:37 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Paypal Express Checkout config won't save. I put in info and comes back unconfigured!

Okay. 2 things:

  1. When you make backups, you should also archive them someplace, such as on a CD, for safekeeping.
  2. If you've replaced original files with wrong files, and have no backup, go and grab the original Zen Cart zip file for the version you're using, unzip it, grab the file you need, and use that to fix the one you broke.

https://www.zen-cart.com/tutorials/index.php?article=323

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.