Forums / General Questions / Items will not disappear from Shopping Cart after checkout

Items will not disappear from Shopping Cart after checkout

Locked

Views: 2,449

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
30 Dec 2008, 1:27 PM
#1
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Items will not disappear from Shopping Cart after checkout

Hi,

I am moving hosting service providers using the instructions in the forum here and everything is working including redit card charges except when I buy something I can checkout just fine but the item does not drop from teh shopping cart when the next time I go in to my account. I have reloaded cache and signed out but no success.

Using 1.3.8, no SSL yet.

Thanks for any help

Bob

30 Dec 2008, 4:59 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

If it's not emptying your cart, then usually it's because your payment module isn't completing properly, and is blocking the checkout process from completing.

It likely also means you're not getting the confirmation emails either.

Perhaps your upload to the new server is missing some files or parts of files. Maybe your FTP upload failed with errors? Downloading a full set of files from both servers and comparing everything with a tool like WinMerge is likely a good starting point.

.
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 2009, 6:58 PM
#3
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Thanks Dr. I will try that path

2 Jan 2009, 7:06 PM
#4
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Good Dr.

I did the compare and all match up. The other curious thing is I believe the checkout process is completing because I am seeing the charge hit my credit card but the item just hangs in the shopping cart.

Thanks for any other tips

Bob

2 Jan 2009, 7:22 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

What version of Zen Cart?
What payment module?
What addons do you have installed?
What emails are sent when you make payment?

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

10 Jan 2009, 2:23 PM
#6
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Version 1.3.8

We use Authorize.net

No Add ons

All the correct emails are sent just like everything was working perfectly.

Thanks so much

Bob

10 Jan 2009, 5:13 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

I wouldn't expect that to happen using one of the built-in payment modules unless the return code from the gateway was invalid or otherwise unacceptable.
Are you using the authnet SIM module or the AIM module? AIM has always been more secure and reliable because your server never loses control of the transaction like the SIM module does ... just due to the way the payment flow is designed by the gateway.

You have a few options:

  • try using the AIM module
  • turn on debug logging in the module's settings and check what the logfiles say when the problem occurs
  • leave it alone

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

15 Jan 2009, 11:40 PM
#8
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Thanks Dr. I will give that a try

Bob

16 Jan 2009, 6:27 PM
#9
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Dr,

I am using AIM but I can't find where to turn on the logging you suggest in the module.

Thanks for any leads.

Bob

16 Jan 2009, 7:20 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

Bob88Vette:

I am using AIM but I can't find where to turn on the logging you suggest in the module.

Thanks for any leads.

Bob
Admin->Modules->Payment->Authorize.net AIM->Edit .... at the bottom of the list is the Debug Mode option. Set it to Log To File:> Debug Mode
Would you like to enable debug mode? A complete detailed log of failed transactions may be emailed to the store owner.

  • Off
  • Log File
  • Log and Email

.
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 Feb 2009, 3:29 PM
#11
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Dr,

This one continues to elude us. Another issue we found is we do not get a Success Page that the order was completed. Although the credit card is charged could the success page missing be the problem with the cart not emptying out?

To refresh you we have a perfectly working site with one hosting company but we're trying to move to another hosting company so we have the cart duplicated at the new hosting site. Everything seems to work with AIM and the credit cards get charged on the orders but teh shopping cart does not empty out.

Thanks for sticking with us.

Bob

2 Feb 2009, 8:37 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

If you are getting a blank page, then that indicates you're encountering a PHP error.
And, encountering a fatal error will certainly stop the rest of the page code from executing, which could definitely result in incomplete transactions and therefore also not emptying the shopping cart.

Have you done anything about debugging the blank page problem? See the utility in step 2a of this FAQ on the topic: https://www.zen-cart.com/tutorials/index.php?article=82

.
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 Feb 2009, 6:01 PM
#13
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Dr.

I left out a few key words, my apologies. We don't get the success page EMAILED to us. We do see the correct success page on screen but it does not email to the ordering customer.

Bob

3 Feb 2009, 6:57 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Items will not disappear from Shopping Cart after checkout

Try the debug logging utility I mentioned in my last post, and see if it's catching any errors during checkout.

Also, enable email archiving and check whether the email is "sent" (ie: leaves Zen Cart) but just never arrives ... your email troubles could just be a result of domain routing confusion while trying to run the same domain on two separate servers, or some other related matter. (see step 12 here: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems#Diagnosing_Problems )

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

9 Feb 2009, 2:48 PM
#15
bob88vette avatar

bob88vette

New Zenner

Join Date:
Apr 2008
Posts:
59
Plugin Contributions:
0

Re: Items will not disappear from Shopping Cart after checkout

Dr.

I wanted to thank you for all your help on this issue. You pointed me to some good tips and the one that did it was the emailing archive module.

We were running our production cart with the domain name on our original hosting company server and testing the new hosting company with the temp ip address (awaiting move of domain name)

New host was looking for mail server mail.themainentree.com which was set up on both the old hosting company and with the new hosting company as they were expecting the DNS name changes.

Bottom line Zencart either didn't like looking to another server for mail or was confused when two hosting companies having "mail.themainentree.com"

Based on the above theory we decided to accelerate our hosting company switch and converted the DNS name switch this weekend to the new company.

Everything is working fine and we have our better network reliability.

Thanks again for all your contributions to this community.

Bob