Forums / General Questions / My cart not generating order confirmation

My cart not generating order confirmation

Locked

Views: 2,576

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
29 Sep 2006, 5:35 AM
#1
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

My cart not generating order confirmation

Hi Gurus

Wondering if someone might have a suggestion for a perplexing problem.

I have ver 1.3.0.1 installed and running perfectly since May. My server recently had issues with their firewall and did a roll back, since then order confirmation emails for purchased products are not generated by my cart. Order confirmations are generated and sent if the product is free but not if purchased via paypal. Paypal is working fine and orders are in admin.

I have email archive installed and the order confimations are not showing so I can't resend. There are no issues with other emails they are all generated and sent.

No settings have changed in my cart and paypal settings have not changed.

Any thoughts or ideas of what I could try to fix this would be most appreciated.

30 Sep 2006, 4:36 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: My cart not generating order confirmation

I'd encourage you to update to Zen Cart v1.3.5 and then uninstall/reinstall PayPal and configure it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

1 Oct 2006, 2:08 AM
#3
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

Thanks Ajeh, I just knew you were going to suggest that....hehe! And I will, I promise!

I thought it might have something to do with the PayPal module and the server roll back, just very hesitant to uninstall paypal in case it screws up the live site!

1 Oct 2006, 2:40 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: My cart not generating order confirmation

Additionally, follow these steps:
http://www.zen-cart.com/wiki/index.php/PayPal

.
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 Oct 2006, 4:12 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: My cart not generating order confirmation

I always do a test upgrade to prevent horror stories ...

/new_shop

Copy of Live Site into /new_shop

New database ...

Copy of Live Shop database into new database ...

Update configure.php files to new path and new database

Upgrade /new_shop with new database ...

Test test test ...

When perfect ... empty tables of NEW database ...

Down for Maintenance Live Shop ...

Backup Live Database again and load to /new_shop database

Upgrade database again ...

Test Test Test

If perfect ...

Move Live Shop to /old_shop

Edit paths in /new_shop configure.php files DO NOT change database ... new database is now the REAL database ...

Move/rename /new_shop to Live Site path ...

Test Test Test ...

Turn off Down for Maintenance ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

2 Oct 2006, 12:47 AM
#6
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

Thanks Ajeh and Dr Byte for the info and helpful stuff.

If I get the confirmations going again I will post back here.

4 Oct 2006, 12:49 PM
#7
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

Here is an update on progress!

I did as Ajeh suggested and upgraded to 1.3.5 (I must be getting good it was too easy).
Using a new db and dummy product I tested paypal, transaction completed and emails were received from paypal and my cart, cart email also in email archive (doh)....yahoo!

Deleted db and started again with a copy of live shop db, tested paypal and emails received from paypal but not my cart.

Read wiki for destructions on paypal. Uninstalled and reinstalled paypal mod but still the same result, emails from paypal, but not from my cart and nothing in email archive.

Correct me if I am wrong (and I probably am) would this indicate a db problem....as my cart works fine with a fresh db. The live shop db was checked and repaired through my server control panel but the email result was still the same.

As I know nothing about mysql, please could I have helpful suggestions on what to try. It would be very much appreciated.

9 Oct 2006, 12:50 PM
#8
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

Further update......still playing with liveshop backup

In mysql, I emptied the paypal and paypal sessions tables, uninstalled and reinstalled the paypal mod in shop admin. This seems to have fixed half the problem, information is now being stored in the paypal tables (this wasn't happening from the time the email problem started), but still no email from the shop.

Would someone have any clues as to which tables I could look at and play with next, pretty please?

9 Oct 2006, 6:22 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: My cart not generating order confirmation

From the PayPal troubleshooting guide:

12.Turn on PayPal debug logging by activating the setting in the PayPal module in Admin->Modules->Payment. You'll need to check to be sure that your /includes/modules/payment/paypal/logs folder is marked read/write (chmod 777). Then use your FTP program to access/view those logs to see what the cause of errors may be.

.
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 Oct 2006, 10:01 PM
#10
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

forgot to chmod paypal folder but did get the debug sent to me....I received three as follows (sensitive info x'd out):

IPN NOTICE::Got past language loads

IPN INFO - POST VARS
mc_gross=1.00
&address_status=unconfirmed
&payer_id=5CJYNQDXBSN8Q
&tax=0.00
&address_street=xxx+xxxxx+Street
&payment_date=04%3A47%3A33+Oct+09%2C+2006+PDT
&payment_status=Completed
&charset=windows-1252
&address_zip=3840
&first_name=Xxxxxx
&mc_fee=0.32
&address_country_code=AU
&address_name=Xxx+Xxxx
&notify_version=2.1
&custom=zenid%3De3d0aeb7e3acca05cbedeff32520bd1b
&payer_status=unverified
&business=admin%40scrappindigikreations.com
&address_country=Australia
&address_city=Morwell
&quantity=1
&verify_sign=A0HsY0KPKm.eomr6vRBw-M3nppMuArkAKXT7ne283MJk3zbH73IJ469-
&payer_email=xxxxxxx%40xxxxxxxx.net.au
&txn_id=4S769789M5976580U
&payment_type=instant
&last_name=Xxxxxx
&address_state=0
&receiver_email=admin%40scrappindigikreations.com
&payment_fee=0.32
&receiver_id=4SLGLCXPSBACA
&txn_type=web_accept
&item_name=Scrappin+Digi+Kreations+Purchase
&mc_currency=USD
&item_number=1
&residence_country=AU
&receipt_id=xxx-xxxx-5672-8298
&payment_gross=1.00
&shipping=0.00
&cmd=_notify-validate

IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Mon, 09 Oct 2006 11:47:38 GMT
,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Thu, 06-Oct-2016 11:47:38 GMT; path=/; domain=.paypal.com
,Set-Cookie: Apache=74.52.113.66.34661160394458509; path=/; expires=Wed, 01-Oct-36 11:47:38 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,

this looks ok to me but then I don't know what I am looking for....hehe!

11 Oct 2006, 5:15 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: My cart not generating order confirmation

It should continue for another 7 or so steps after that.

What other addons/contributions do you have installed? Any special code-customizations you've made?

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

12 Oct 2006, 1:46 AM
#12
sammyd avatar

sammyd

New Zenner

Join Date:
Oct 2005
Posts:
40
Plugin Contributions:
0

Re: My cart not generating order confirmation

Contributions/Addons - x-sell, email archive, download estimate. Only code I have altered is product template info and also I created my own theme template.

x-sell was the last mod installed 19/9, store appeared to be working fine after installation. Last email confirmation received 22/9 it was after this date the server rolled back and no more email confirmations.

I am playing with a fresh db in the new shop, importing relevant data from the live shop i.e. customer info, product info and leaving other tables alone i.e paypal, x-sell. So far so good, everything is working as intended, email confirmations are being received. Last tables to import are order info if everything still works ok after the import this will be the way I will go. If it is something in the order info that breaks my cart, no biggie, I will just leave those tables empty (what do you need order info for anyway....hehe).

If you think I am going off on the wrong track just hit me upside the head.

I do appreciate the help so far, very much!