Forums / Built-in Shipping and Payment Modules / HTTP 500 errors in Paypal IPN checkout??

HTTP 500 errors in Paypal IPN checkout??

Locked

Views: 10,453

Results 1 to 20 of 46
This thread is locked. New replies are disabled.
1 Jan 2008, 2:13 AM
#1
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

HTTP 500 errors in Paypal IPN checkout??

I upgraded to ver 1.3.8 today and have hada multitude of errors ever since..trying to slowly work my way through and am stumped about what is wrong with my checkout...I assume there are files not matching on the website...

Error occurs at stage 1 of checkout with shipping choices...on this page... http://www.bydesigncreations.ca/index.php?main_page=checkout_shipping

So this means there is an error somewhere in the checkout_shipping file somewhere, correct? or is there another file it may refer to? is there more than one of those files in different areas that maybe no longer match?? any ideas??

Boy nothing is ever as simple as it seems sometimes...:no:

Thanks,
Moy

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 2:15 AM
#2
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

Now to add injury to insult when i try and login using test user i get another error...

"There was a security error when trying to login." and it absolutely will not let me in at all unless i create a new user...

Upgrading was so not a good idea...:shocking:

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 2:17 AM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

As it is the checkout page to be looked at, one needs a login to get there and see the problem.

You will need to provide a screenshot of the problem or a test login.

Also, when upgrading to v1.3.8x make sure to clear your Browser cache & cookies.

The learning is in the doing.

Potent Products

1 Jan 2008, 4:14 AM
#4
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

You can log in using [email protected] p/w testtest.

Put anything in the cart and see what happens immediately during checkout....

lol - forgot to mention if you can even log in that is with the new "There was a security error when trying to login." issue...

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 6:52 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

Definitely problems in River City. (old expression)

Tried your login which didn't work and created my own ( Name: Just Testing, which you can delete) which didn't work either.

Do you have this in your config files, near the bottom:

define('SQL_CACHE_METHOD', 'database');

If not, change it so that it is and see what happens.

Other than that, this problem is above my knowledge and hopefully, someone more experienced will share their knowledge.

The learning is in the doing.

Potent Products

1 Jan 2008, 10:03 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

It's a good thing you did your upgrade in a test area so that your live site isn't adversely affected by unexpected behavior, isn't it!

It's probably wise to deal with your security-error-during-login issue first.
Here's an FAQ on it: https://www.zen-cart.com/tutorials/index.php?article=312

Then, check your server's errorlog for the cause of the 500 errors.

.
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.

1 Jan 2008, 10:06 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

Error occurs at stage 1 of checkout with shipping choices...on this page...

I'm confused ... why did you title this thread as being something wrong with PayPal IPN when your problem is happening on the shipping-details page ... which happens on the screen before payment methods are even considered?

.
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.

1 Jan 2008, 2:15 PM
#8
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

Changed the file from

define('SQL_CACHE_METHOD', 'none');

to define('SQL_CACHE_METHOD', 'database'); as suggested...

Nothing appeared to change currently?? Grrr...

Website Rob:

Definitely problems in River City. (old expression)

Tried your login which didn't work and created my own ( Name: Just Testing, which you can delete) which didn't work either.

Do you have this in your config files, near the bottom:

define('SQL_CACHE_METHOD', 'database');

If not, change it so that it is and see what happens.

Other than that, this problem is above my knowledge and hopefully, someone more experienced will share their knowledge.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 2:18 PM
#9
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

I have also read the tutorial a million times now, still had no idea how to merge the 2 files and cannot find the security token line that needs to be changed...I think I must have accidentally over written it...

What is the line so I can add it back in??? Can someone please paste it for me and its lcation it needs to be in the 2 files please?

  • /includes/templates/YOUR_TEMPLATE/templates/tpl_login_default.php
  • /includes/templates/YOUR_TEMPLATE/templates/tpl_timeout_default.php

Thanks!!

DrByte:

It's a good thing you did your upgrade in a test area so that your live site isn't adversely affected by unexpected behavior, isn't it!

It's probably wise to deal with your security-error-during-login issue first.
Here's an FAQ on it: https://www.zen-cart.com/tutorials/index.php?article=312

Then, check your server's errorlog for the cause of the 500 errors.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 2:20 PM
#10
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

Apologies..at this point my head is swimming in all the bugs I have had to change/fix I have little idea anymore where the errors are :dontgetit hoping a fresh head today and some answers from the boards will get me back on track :)

Thanks!!

DrByte:

I'm confused ... why did you title this thread as being something wrong with PayPal IPN when your problem is happening on the shipping-details page ... which happens on the screen before payment methods are even considered?

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 9:49 PM
#11
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

According to our server company we do not have access to the error logs..how nice...any other ideas?

What files should I look through for errors checkout_shipping???

DrByte:

It's a good thing you did your upgrade in a test area so that your live site isn't adversely affected by unexpected behavior, isn't it!

It's probably wise to deal with your security-error-during-login issue first.
Here's an FAQ on it: https://www.zen-cart.com/tutorials/index.php?article=312

Then, check your server's errorlog for the cause of the 500 errors.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

1 Jan 2008, 10:15 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

After you finish running WinMerge on all your customized files ( http://www.zen-cart.com/forum/showthread.php?p=482394#post482394 ) you may find that things suddenly work.

What other payment modules do you have enabled?
Did you remove-and-re-install all your payment modules (after recording all their settings) as part of your install steps?
What happens if you selectively disable them one-by-one (setting their status to False) and try a checkout?

.
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.

2 Jan 2008, 5:40 PM
#13
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

I just went into our admin to see what payment modules were installed as we only use Paypal IPN and check/money order. Strangest thing...they are BOTH no longer even listed in the payment module in admin at all anymore!! There are authorize modules, cod, paypal epxress and paypal pro...where did the others go in the upgrade then??

How do I get them back installed? Could not locate either of them in downloads section to reinstall??

DrByte:

What other payment modules do you have enabled?
Did you remove-and-re-install all your payment modules (after recording all their settings) as part of your install steps?
What happens if you selectively disable them one-by-one (setting their status to False) and try a checkout?

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

2 Jan 2008, 6:03 PM
#14
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

I was just reading through help files and came across this article which states that the money order and paypal ipn are suposed to be buit in zencart functions...

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

So where the heck did mine go with the upgrade to 1.3.8a?? Neither are visible at all in my admin payment module... I want to keep paypal ipn and money orders!

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

2 Jan 2008, 6:14 PM
#15
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

I got them all back by re-uploading files from 1.3.8a...still not sure why cart will not go through at all though...still hangs at step one.

I have compared my new and old files in the payment modules and they are terribly different but most of it appears to be programming jargon of which I know nothing about! None of the differences were anything I customized...

BDCreations:

I was just reading through help files and came across this article which states that the money order and paypal ipn are suposed to be buit in zencart functions...

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

So where the heck did mine go with the upgrade to 1.3.8a?? Neither are visible at all in my admin payment module... I want to keep paypal ipn and money orders!

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

3 Jan 2008, 12:01 AM
#16
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

I feel your pain as I used to be in the same type situations. Always so frustrating working with scripts and doing customizing, only to realize that a change made awhile ago is causing problems but you cannot remember when you changed it or what file it was. Without documenting what you've done makes it very difficult to troubleshoot.

I think it might be proper to suggest you setup another new install and start from scratch. Use your previous file changes as a guide to make you new changes, one by one, and documenting all the way. What file you changed, what code line #, why the change was necessary.

Although you may think it is not worth it now, what happens is you build your own Resource center of changes. Very, very handy for future reference and will really save you a lot of time. Be it on your site or someone else's.

The learning is in the doing.

Potent Products

3 Jan 2008, 1:35 AM
#17
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

My own fault really of course..things were fine beforehand..only reason I went to upgrade was some recent paypal orders not going through and I was led to believe this would all be solved if I simply upgraded to the new version... HAHAHA!! Now I do not even have a functioning store....:no:

If only someone could tell me which files the step one of the checkout_shipping relate to so I could trouble shoot or look for changes in those files it would give me somewhere to start...??? I am not sure what this error in the checkout relates to even...ie what page it is referring to...

Any ideas anyone??
Thanks,
Moy

Website Rob:

I feel your pain as I used to be in the same type situations. Always so frustrating working with scripts and doing customizing, only to realize that a change made awhile ago is causing problems but you cannot remember when you changed it or what file it was. Without documenting what you've done makes it very difficult to troubleshoot.

I think it might be proper to suggest you setup another new install and start from scratch. Use your previous file changes as a guide to make you new changes, one by one, and documenting all the way. What file you changed, what code line #, why the change was necessary.

Although you may think it is not worth it now, what happens is you build your own Resource center of changes. Very, very handy for future reference and will really save you a lot of time. Be it on your site or someone else's.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

3 Jan 2008, 1:44 AM
#18
bdcreations avatar

bdcreations

New Zenner

Join Date:
Feb 2007
Location:
Canada
Posts:
83
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

Not sure which files you want me to compare? Please be more specific..ie EXACT directory locations to check!

I did remove and reinstall Paypal IPN...I also have money orders enabled...thats it.

I disabled both money order and paypal one at a time and tried to check out...each time same old http 500 error on Step 1 of 3 - Delivery Information main_page=checkout_shipping...

What now? What page(s) does this refer to so I can check them??

Just a thought-- what about currency of the upgrade? I had everything switched to CANADIAN funds which when I did it caused problems as everything of course was set to US...would something possibly have gotten switched back to US???

DrByte:

After you finish running WinMerge on all your customized files ( http://www.zen-cart.com/forum/showthread.php?p=482394#post482394 ) you may find that things suddenly work.

What other payment modules do you have enabled?
Did you remove-and-re-install all your payment modules (after recording all their settings) as part of your install steps?
What happens if you selectively disable them one-by-one (setting their status to False) and try a checkout?

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

3 Jan 2008, 2:29 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

Not sure which files you want me to compare? Please be more specific..ie EXACT directory locations to check!
You're looking for a simple "look here" answer when there is none.

Checkout uses:
/includes/auto_loaders/*
/includes/classes/*
/includes/extra_cart_actions/*
/includes/extra_configures/*
/includes/extra_datafiles/*
/includes/functions/*
/includes/init_includes/*
/includes/languages/english/*
/includes/modules/pages/checkout_xxxxx/*
/includes/templates/YOUR_TEMPLATE/templates/checkout_xxxxx*
/includes/templates/template_default/templates/checkout_xxxxx*
/includes/templates/YOUR_TEMPLATE/common/*
/includes/templates/template_default/common/*
and more

NOTE: all "*" references above include all files and folders and files inside any subfolders

.
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.

3 Jan 2008, 9:09 AM
#20
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: HTTP 500 errors in Paypal IPN checkout??

To be a bit more specific, this is probably the file you editted and the first file I would check.

Step 1 of 3 is:
/includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_shipping_default.php

The learning is in the doing.

Potent Products