Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    911
    Plugin Contributions
    5

    red flag Business Name/Company Name

    How do I get the business name or company name to report back from Paypal on Zen Cart Email receipts?

    At the moment is reporting the name of the person and an address but not a business name above the address.

    This is not a real address by the way but it is reporting like this:

    Adam Smith
    10 Cesar Street
    Anytown
    Any Area
    AA44 5GG

    Instead of:

    Adam Smith
    My business name
    10 Cesar Street
    Anytown
    Any Area
    AA44 5GG

    The business name does appear on the order in the admin, however not with the address.

  2. #2
    Join Date
    Jan 2004
    Posts
    65,292
    Blog Entries
    7
    Plugin Contributions
    228

    Default Re: Business Name/Company Name

    Is this truly isolated to PayPal?
    The order-confirmation email is generated in the Order class, not in PayPal.

    The paypal code is grabbing the business name
    https://github.com/zencart/zencart/b...lwpp.php#L1834

    and putting it into the order
    https://github.com/zencart/zencart/b...hp#L1965-L2004

    before the email is generated
    https://github.com/zencart/zencart/b...ss.php#L84-L97

    by the order class
    https://github.com/zencart/zencart/b...hp#L1043-L1054
    .

    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. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    911
    Plugin Contributions
    5

    red flag Re: Business Name/Company Name

    Quote Originally Posted by DrByte View Post
    Is this truly isolated to PayPal?
    The order-confirmation email is generated in the Order class, not in PayPal.

    The paypal code is grabbing the business name
    https://github.com/zencart/zencart/b...lwpp.php#L1834

    and putting it into the order
    https://github.com/zencart/zencart/b...hp#L1965-L2004

    before the email is generated
    https://github.com/zencart/zencart/b...ss.php#L84-L97

    by the order class
    https://github.com/zencart/zencart/b...hp#L1043-L1054
    I am not sure, I just know that I had someone pay by Express Checkout and it did not report back the business name. If they pay using normal checkout methods through paypal the business name is added to the order email. So it is ONLY when a customer uses express checkout.

  4. #4
    Join Date
    Jul 2012
    Posts
    14,567
    Plugin Contributions
    17

    Default Re: Business Name/Company Name

    Which specific sub-version of ZC 1.5.5 is being used? I thought I remembered there being an issue with either 1.5.5 or maybe it was 1.5.6 where the business name was being omitted in emails...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  5. #5
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    911
    Plugin Contributions
    5

    red flag Re: Business Name/Company Name

    Quote Originally Posted by mc12345678 View Post
    Which specific sub-version of ZC 1.5.5 is being used? I thought I remembered there being an issue with either 1.5.5 or maybe it was 1.5.6 where the business name was being omitted in emails...
    I'm on 1.5.5f - obviously its a worry as an item was sent out in the post without the business name. It just had an address but the post man would not have known where to deliver it because there wasn't a business name, and a few businesses belonging to that address.

 

 

Similar Threads

  1. v154 Company Name after Customer Name Support
    By dw08gm in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 Aug 2015, 07:08 AM
  2. v151 Company Name after Customer Name (instead of before)
    By dw08gm in forum General Questions
    Replies: 3
    Last Post: 8 Oct 2014, 11:42 AM
  3. Company name before name??
    By bottyz in forum Managing Customers and Orders
    Replies: 7
    Last Post: 5 Jul 2010, 11:18 PM
  4. Paypal RETURN TO shows my real name instead of company name
    By tuanle55 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jul 2008, 03:47 AM
  5. Company name vs Customer name at registration
    By sanji in forum Managing Customers and Orders
    Replies: 4
    Last Post: 28 Jan 2008, 10:57 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR