Forums / Built-in Shipping and Payment Modules / PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Locked

Views: 3,322

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
27 Jul 2009, 3:06 PM
#1
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Hi everyone,

Because of my HORROR english, i will be short and (hpefully ) clear.

Site is running ok

All Payments are runing ok

Cash on delivery and Check payments are running COMPLETELY PERFECT

Paypal IPN payments goes thru ok ( money is receibed, and order appears in cpanel ) , but no **[NEW ORDER] Numer : Whatever ** email is sent to admin.
To customer neither

My paypal account is Premier

I don't have other paypal modules installed ( express, pro, etc )

So every day, I collect the data and send the email by hand with order details to customers that payed during the night, because they sent the money but NOBODY CONFIRMS THEM THE ORDER IS COMPLETED until next morning when I have to do this several times.

Any ideas on how to fix this?

Any ideas on where to learn English the easey way? :blush:

29 Jul 2009, 4:09 PM
#2
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

PLEASE , HELP!

i CALL THE POWERFULL KNOWDLEDGE OF AJEH OR SOMEONE

:smartalec:

i really need to fix it.

thanks a lot

6 Aug 2009, 7:43 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Do you see those orders in your Zen Cart admin, under Admin->Customers->Orders ?

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

6 Aug 2009, 7:54 PM
#4
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

yep, sensei

I do see them in cpanel

6 Aug 2009, 7:57 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Does this happen to ALL PayPal orders?

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

6 Aug 2009, 8:02 PM
#6
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

all pp orders

Never worked at all

no pp order sent order confirmation by mail in the history of this site.

6 Aug 2009, 8:11 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

  1. Install this debug logging utility: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=860

  2. Turn on PayPal Debug Log To File: http://www.zen-cart.com/forum/showthread.php?t=61199

  3. Do a test PayPal transaction.

  4. Obtain all the *.log files from your /cache/ folder, zip them, and post the zip here or give me a link where I can download the zip file.

  5. Read: 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.

7 Aug 2009, 7:59 AM
#8
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Hi there,

Thanks a lot DrByte for helping.

In the same moment i was trying to change my comunication emails from plain text to html.

So i arrived to this spanish forum http://zencartes.com/topic.php?id=1071

At the end of the page , user REALXP ( credits to him ) mention a strange bug that - once i Changed it- solved everything ( the html email and the pp order problems)

it seems that is a problem with version 1.3.8 a and non english shops

u have to go to : /includes/functions/functions_email.php.
Line #393.

Default code:

$langfolder = (strtolower($_SESSION['languages_code']) == 'en') ? '' : strtolower($_SESSION['languages_code']) . '/';

There you have to add more lenguages ( in this case , es ) so appear like this

$langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'es') ? '' : strtolower($_SESSION['languages_code']) . '/';

I did that and get the two things solved

1-email notifications ( welcome, checkout, default , etc ) changed to html

2- PayPal customers receive the NEW ORDER email ( in html )

hope this helps other non english speaking users of zc

thanks a lot dr byte for your help.


just for google to index it, i will paste the solution in spanish because this problem affects mainly non english speaker users

(if moderator think this is inappropriate, please delete this part of the post )

Pues arreglado, ahora ya se envían los mails en HTML cuando tienes la tienda en español.

Solo pasa en la versión 1.3.8 a

Hay que ir a: /includes/functions/functions_email.php.
Linea #393.

Codigo por defecto:

$langfolder = (strtolower($_SESSION['languages_code']) == 'en') ? '' : strtolower($_SESSION['languages_code']) . '/';

Y añadir or 'es' después de 'en' de tal manera que queda asi 'en' or 'es'

Tal que asi.

$langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'es') ? '' : strtolower($_SESSION['languages_code']) . '/';

Con esto, ya saldrán vuestros emails en HTML.

ORIGINAL LINK: REALXP IN ZEN CART SPANISH USER FORUM

http://zencartes.com/topic.php?id=1071


:clap::clap::clap::clap:

7 Aug 2009, 1:13 PM
#9
drbyte avatar

drbyte

Sensei

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

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

Zebra-:

it seems that is a problem with version 1.3.8 a and non english shops

u have to go to : /includes/functions/functions_email.php.
Line #393.

Default code:

$langfolder = (strtolower($_SESSION['languages_code']) == 'en') ? '' : strtolower($_SESSION['languages_code']) . '/';

There you have to add more lenguages ( in this case , es ) so appear like this

$langfolder = (strtolower($_SESSION['languages_code']) == 'en' or 'es') ? '' : strtolower($_SESSION['languages_code']) . '/';
Actually, a better solution would be to simply add an /email/es/ folder, and put your spanish version of email templates in that folder. No programming changes required.

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

7 Aug 2009, 1:19 PM
#10
zebra avatar

zebra

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: PayPal IPN orders doesn`t send NEW ORDER email to admin nor customer

actually i have a spanish folder in /email/ but called "spanish"

:doh:

dont know where i get it or why is called "spanish" and not "es"

thanks sensei.

regards