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 21 to 40 of 46
This thread is locked. New replies are disabled.
3 Jan 2008, 11:41 PM
#21
bdcreations avatar

bdcreations

New Zenner

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

HTTP 500 errors in Paypal IPN checkout??

I checked this file as it is now on my site compared to the old one in my backup and they are IDENTICAL according to winmerge....go figure...any other ideas?

Gonna go start combing through the directories dr.byte suggests and compare files but still have no idea what jargon to change and what to leave alone...

Website Rob:

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

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

3 Jan 2008, 11:57 PM
#22
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 gone through the directories you stated and found numerous files that are not identical BUT they are code jargon differences and nothing I have changed...is it only MY CHANGES I am supposed to be looking for correct??

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

Please do tell me what in the world I am suppsoed to do with this mess really...any way to get rid of the new version and go back! LOL

DrByte:

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

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 12:17 AM
#23
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??

You could try switching back to US currency.

You could ask your Hoster if they have a backup from before this started. New Customers / Orders since then will not show up along with any other changes / updates done.

The learning is in the doing.

Potent Products

4 Jan 2008, 12:34 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

According to our server company we do not have access to the error logs..Who are they?

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

4 Jan 2008, 12:35 AM
#25
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

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???Currency shouldn't have anything to do with it.

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

4 Jan 2008, 12:38 AM
#26
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN 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.

4 Jan 2008, 8:35 PM
#27
bdcreations avatar

bdcreations

New Zenner

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

Re: HTTP 500 errors in Paypal IPN checkout??

Our account is through Costco with dotcanada.com

DrByte:

Who are they?

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 8:48 PM
#28
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 created the local directory and the configure.php page with the code you listed and uploaded it all to the site....nada :no:

I still have no idea what this first step in checkout actually is..is it a shipping address error? an error in the 2 payment options? I am totally clueless where to even being to look..or what I am looking for? Changes should be in MY additions/changes not in code jargon right? cause there are ALOT of code differences in the new upgrade but nothing I did...

DrByte:

Maybe try this:
http://www.zen-cart.com/forum/showpost.php?p=478893&postcount=15

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 10:02 PM
#29
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??

Here's a tip that sometimes works when getting a blank page using a custom Template.

See if you have this file:
includes/templates/your_template/common/tpl_main_page.php

If you do, rename to something like: tpl_main_page.php.old

That will force the default file to be used. Refresh your Browser on the problem page and see what happens. If you now see the page then rename the file back to what it was a refresh your Browser again.

The learning is in the doing.

Potent Products

4 Jan 2008, 10:03 PM
#30
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

When I last tested your site, it would let me get to the shipping page.
Then when I selected a shipping method and clicked Continue, which would normally go to the payment page, it croaked.

This suggests that something's amuck with the code on the checkout_shipping or checkout_payment page files, or with one of the active payment or order total modules.
Which payment modules do you have enabled?
What happens if you start disabling them one-by-one and trying to get past the shipping page after each one?

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

4 Jan 2008, 10:06 PM
#31
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

You've still got some things missed in your upgrade.

For example, if you leave something in your cart, then log out, add something else to your cart, and log in to do a checkout, you get this across the top of your shopping cart: WARNING_SHOPPING_CART_COMBINED

That's a language definition which you've missed merging.

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

4 Jan 2008, 10:09 PM
#32
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

I created the local directory and the configure.php page with the code you listed and uploaded it all to the site....nada

Actually, not "nada".

The following shows up ... which is explaining the cause of the blank page:> Notice: Constant MODULE_ORDER_TOTAL_LOWORDERFEE_TITLE already defined in /services2/webpages/b/y/bydesigncreations.ca/public/includes/modules/order_total/ot_loworderfee.php on line 23

Notice: Constant MODULE_ORDER_TOTAL_LOWORDERFEE_DESCRIPTION already defined in /services2/webpages/b/y/bydesigncreations.ca/public/includes/modules/order_total/ot_loworderfee.php on line 24

**Fatal error: Class 'ot_loworderfee' not found in /services2/webpages/b/y/bydesigncreations.ca/public/includes/classes/order_total.php on line 47
**

This suggests that you have changed whether the low-order-fee module is available or not.

Go into Admin->Modules->Order Total, and list all the modules shown there. Indicate which ones are enabled.

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

4 Jan 2008, 10:54 PM
#33
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 never gotten a "blank page" as I would call it...we get an error page as follows:

This program cannot display the webpage

Most likely causes:

  • The website is encountering problems.
  • There might be a typing error in the address.What you can try:

**Check your Internet connection. Try visiting another website to make sure you are connected. **

Will try as you suggest of course...will try anything :)
Thanks,
Moy

Website Rob:

Here's a tip that sometimes works when getting a blank page using a custom Template.

See if you have this file:
includes/templates/your_template/common/tpl_main_page.php

If you do, rename to something like: tpl_main_page.php.old

That will force the default file to be used. Refresh your Browser on the problem page and see what happens. If you now see the page then rename the file back to what it was a refresh your Browser again.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 10:57 PM
#34
bdcreations avatar

bdcreations

New Zenner

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

Re: HTTP 500 errors in Paypal IPN checkout??

Yup that's exactly where the error is...I have MONEYORDER and PAYPAL IPN-WEBSITE PAYMENTS STANDARD installed...I did try disabling as you previously suggested and still could not get through...

DrByte:

When I last tested your site, it would let me get to the shipping page.
Then when I selected a shipping method and clicked Continue, which would normally go to the payment page, it croaked.

This suggests that something's amuck with the code on the checkout_shipping or checkout_payment page files, or with one of the active payment or order total modules.
Which payment modules do you have enabled?
What happens if you start disabling them one-by-one and trying to get past the shipping page after each one?

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 11:04 PM
#35
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 logged in and cannot see error you described when I try and checkout? I could not locate any file called SHOPPING_CART_COMBINED either in the language directory or subdirectories...where is it in the language directory?

Sorry to drag this out I really am trying :)

DrByte:

You've still got some things missed in your upgrade.

For example, if you leave something in your cart, then log out, add something else to your cart, and log in to do a checkout, you get this across the top of your shopping cart: WARNING_SHOPPING_CART_COMBINED

That's a language definition which you've missed merging.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 11:11 PM
#36
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

Well, the message has changed slightly now.

You've got some additional order-total modules installed.
Please turn off these add-on Order Total modules:

  • Optional Insurance
  • Quantity Discount

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

4 Jan 2008, 11:12 PM
#37
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

I could not locate any file called SHOPPING_CART_COMBINED either in the language directory or subdirectories...where is it in the language directory?

normally is on line 493 of english.php

  define('WARNING_SHOPPING_CART_COMBINED', 'NOTICE: For your convenience, your current shopping cart has been combined with your shopping cart from your last visit. Please review your shopping cart before checking out.');
```This suggests that you need to merge your custom english.php with the original english.php and reconcile any differences.
You should do the same for all your customized language files.

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

4 Jan 2008, 11:13 PM
#38
bdcreations avatar

bdcreations

New Zenner

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

Re: HTTP 500 errors in Paypal IPN checkout??

Well this might be onto something then cause I just logged into my admin and there is nothing even listed or available called ot_loworderfee??

Options I have available are:
ot_cod_fee ~ DISABLED
ot_coupon ~ DISABLED
ot_group_pricing ~ DISABLED
ot_gv ~ DISABLED
ot_insurance ~ ENABLED
ot_quantity_discount ~ ENABLED
ot_shipping ~ ENABLED
ot_subtotal ~ ENABLED
ot_tax ~ ENABLED
ot_total ~ ENABLED

So what do I need to do now?

DrByte:

Actually, not "nada".

The following shows up ... which is explaining the cause of the blank page:

This suggests that you have changed whether the low-order-fee module is available or not.

Go into Admin->Modules->Order Total, and list all the modules shown there. Indicate which ones are enabled.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 11:22 PM
#39
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 check the line you suggested and found it to be the following...

define('ERROR_CUSTOMERS_ID_INVALID', 'Customer information cannot be validated!<br />Please login or recreate your account ...');

In fact could not even locate line you state..and the file is identical to the old one according to winmerge...only differences are TITLE, TAGLINE and LANGUAGE CURENCY has been replaced from USD to CAD

DrByte:

normally is on line 493 of english.php

define('WARNING_SHOPPING_CART_COMBINED', 'NOTICE: For your convenience, your current shopping cart has been combined with your shopping cart from your last visit. Please review your shopping cart before checking out.');

> You should do the same for all your customized language files.

Our ZenCart online store www.bydesigncreations.ca

"The more you know the less you understand."

4 Jan 2008, 11:24 PM
#40
drbyte avatar

drbyte

Sensei

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

Re: HTTP 500 errors in Paypal IPN checkout??

BDCreations:

I check the line you suggested and found it to be the following...

define('ERROR_CUSTOMERS_ID_INVALID', 'Customer information cannot be validated!<br />Please login or recreate your account ...');

In fact could not even locate line you state..and the file is identical to the old one according to winmerge...only differences are TITLE, TAGLINE and LANGUAGE CURENCY has been replaced from USD to CAD

Then you're not comparing against the right file.
If you're upgrading to 1.3.8, you need to be comparing yours against the 1.3.8 version of the file and merging from that, not the prior version.

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