Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default 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?ma...roducts_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
    Last edited by DrByte; 6 Aug 2009 at 09:12 PM. Reason: added missing link
    .

    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. #2
    Join Date
    Apr 2009
    Posts
    20
    Plugin Contributions
    0

    Idea or Suggestion 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

    ----------------------------------------------------




  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by Zebra- View Post
    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.

  4. #4
    Join Date
    Apr 2009
    Posts
    20
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. Paypal IPN doesn't send order details (sometimes)
    By petek in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 11 Oct 2010, 08:02 PM
  2. Order not show in Admin nor Customer's account history
    By jppp in forum General Questions
    Replies: 5
    Last Post: 7 May 2010, 04:57 PM
  3. Customer Order Didnt Show In Admin (GoDaddy vs PayPal IPN)
    By bumba000 in forum General Questions
    Replies: 11
    Last Post: 14 Apr 2007, 09:17 PM
  4. No order conformations and orders in admin with Paypal IPN
    By bumergroup in forum Managing Customers and Orders
    Replies: 15
    Last Post: 4 Jan 2007, 12:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg