Forums / PayPal Express Checkout support / Error 500 using Paypal

Error 500 using Paypal

Locked
Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 Aug 2010, 19:22
#1
cutnscoot avatar

cutnscoot

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Error 500 using Paypal

I have been on this problem for several days now. I am totally at a lost on what to do. I have tried everything that I have found for help. I'm sure it is something that I'm over looking. I have the site looking the way I want it. I have been testing product setups. I really hate to quick now.

New Install of Zen Cart on Godaddy service.
ZC verion: v1.3.9d
MySQL 5.0
IIS 7.0
PayPal Business Account

I was recieving SMTP error when I tested the PayPal button. All emails out of ZC are working now.

I have setup the IPN in Paypal with the following:

http://cutnscoot.com/cnsstore/ipn_main_handler.php

I have set the log and email for debug. I receive 6 emails related to the transaction.

Weather I test the PayPal Express Checkout or go through to Confirm Order I get the same error.

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.


Thanks in advance for any assistance.
15 Aug 2010, 19:42
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Error 500 using Paypal

"500 Internal server error" is something triggered by the server before Zen Cart has any control. You'll have to ask your hosting company what exactly the server's logs say are causing that error to be triggered.
It might be a permissions violation or might be a security rules violation. There's no way of us telling you what it is. The cause will be in the server's security logs and/or application/activity/event logs.

Unfortunately you have two strikes against you in this situation: IIS and GoDaddy. Both are likely to cause you grief.
15 Aug 2010, 23:27
#3
cutnscoot avatar

cutnscoot

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Error 500 using Paypal

I have not had any other problems with the Zen_Cart database on Godaddy. All appears to be working. The setup of customers, product, the use of the admin functions. The only iusse that appears with 500 Internale Server Error is the pay button. Therefore, I think the problem is related to the setup of Zen Cart or Paypal and the communications with zen-cart to Paypal and back

With that said I have forwarded your comments to Godaddy to see if they can identify the problem.

There seems to be a lot of problems posted on the Zen-Cart forum base on communication to and form Paypal. Why is that.

Thanks for your response. I will let you know what I hear from Godaddy and Paypal.
16 Aug 2010, 01:56
#4
cutnscoot avatar

cutnscoot

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Error 500 using Paypal

Godaddy Response:

We have reviewed your account and could not find any issues with the cutnscoot.com hosting account. The type of error you are experiencing is most likely caused by coding or scripting. Unfortunately, because we do not provide coding support, we are unable to determine what specifically in your code may be causing the error. However, the following may be of some assistance in diagnosing the problem:

A web.config file lets you customize the way your site or a specific directory on your site behaves. For example, if you place a web.config file in your root directory, it will affect your entire site. If you place it in a /content directory, it will only affect that directory. However, in order for a web.config file to register in a specific directory, there must be a web.config file in the root directory.

web.config files work on our Windows servers.

Using a web.config file, you can control:

Database connection strings.

Error behavior.

Security.

web.config files are XML documents. ".config" is not an extension like .html or .txt. For more information on how to set up web.config files, visit Microsoft's Web site.

You may wish to review your code to determine if there are any issues, because it appears that is the most likely cause of the error. You may also wish to enable detailed error messages as a temporary diagnostic measure. The procedure for this will vary, depending on the scripting language being used. We also recommend consulting both the vendor's online documentation, as well as the large number of online forums dedicated to coding and scripting.

If you determine there is no issue with the code itself and believe the issue is server related, please reply with specific evidence of this and we will investigate the matter further.

Please let us know if we may be of any further assistance
_______________________________________________________

None of this means anything to me. What do you suggest now?
16 Aug 2010, 04:08
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Error 500 using Paypal

My suggestions are the same:
- don't use IIS/Windows hosting (there are VERY few good reasons for needing something so limited anyway)
- don't use GoDaddy hosting (unrelated to the issue you're discussing, other than the fact that you just experienced your first passing-the-buck from them)

The 500 error is coming from the server. Unless the server can tell you WHY it's throwing that error, it's impossible to find out what might be wrong on your site to cause it.
I *can* tell you that tens of thousands of other users of Zen Cart are *not* reporting the problem you're mentioning, and their sites are working just fine.

If you insist on staying with Windows hosting, then here's something you could try: delete all the ".htaccess" files from all folders and subfolders. Perhaps the 500 errors are because they're conflicting with IIS which likes to use web.config files instead. And, then work with your own security professional to find another way to build all the security protections normally afforded by the supplied .htaccess files which work with Apache-based webservers. If you choose not to do that, you're leaving your site open for hackers. But, that's your choice.
16 Aug 2010, 13:02
#6
cutnscoot avatar

cutnscoot

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Error 500 using Paypal

Thanks for response, I'll let you know what we decide to do and the results.
17 Aug 2010, 14:01
#7
cutnscoot avatar

cutnscoot

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Error 500 using Paypal

Well here is where we are with Zen-Cart and Godaddy.

First let me say at this point we have decided to stay with Godaddy.

Second let me say at this point we have decided to proceed with Zen-Cart. My partner and I really like the ZC functionality.

I made the following changes and the ZC shopping cart is functioning correctly.:D I have process a purchase through PayPal and ZC received the Transaction (inventory, customer and order). Emails were delivered to the Customer and to the store email address.

Changes Made:
1. I changed the payment setup to PayPal Standard.
2. I configured PayPal IPN.
3. I TURN-OFF cURL in My Store setup.
note: Documentation at the top of the My Store Page for cURL
should be changed.
This what it is now.

cURL Proxy Address
If you have GoDaddy hosting or other hosting services that require use of a proxy to talk to external sites via cURL, enter their proxy address here.
format: address: port
ie: for GoDaddy, enter: proxy.shr.secureserver.net:3128 or possibly 64.202.165.130:3128


It should be:

cURL Proxy Address
If you have hosting service that requires the use of a proxy to talk to external sites via cURL, enter their proxy address here.
format: address: port
Only an Example: enter: proxy.shr.secureserver.net:3128 or possibly 64.202.165.130:3128


The cURL setting may have been the problem that started this thread. I'm moving on with the current setup of PayPal standard.


Thanks again for your support.
17 Aug 2010, 18:56
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Error 500 using Paypal

So, you're confirming that the problem all along *was* a GoDaddy legacy issue.
All you needed to do was leave CURL Proxy off (which it is by default).

ref: http://www.zen-cart.com/forum/showpost.php?p=612520&postcount=25


By the way, I strongly recommend that you use Express Checkout instead of Website Payments Standard. You'll be grateful later.