Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default [Done 1.3.9] PayPal Express SHIPTONAME

    The value "SHIPTONAME" that is returned from the GetExpressCheckoutDetails is not being stored in table orders, field delivery_name. Instead the value from FIRSTNAME & LASTNAME are being stored there.

    Zen Cart 1.3.8 with all the fixes.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal Express SHIPTONAME

    Try editing the module and changing this:
    Code:
        // delivery
        if ($_SESSION['paypal_ec_payer_info']['ship_address_status'] != 'None') {
          $order->delivery['name']          = $paypal_ec_payer_info['payer_firstname'] . ' ' . $paypal_ec_payer_info['payer_lastname'];
          $order->delivery['company']       = $paypal_ec_payer_info['payer_business'];
    like this:
    Code:
        // delivery
        if ($_SESSION['paypal_ec_payer_info']['ship_address_status'] != 'None') {
          $order->delivery['name']          = $paypal_ec_payer_info['ship_name'];
          $order->delivery['company']       = $paypal_ec_payer_info['payer_business'];
    .

    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
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: PayPal Express SHIPTONAME

    I have made the edit and will report back.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 5 Apr 2012, 06:42 AM
  2. [Done v1.5.0] PayPal Express Button Removal?
    By daltonkost in forum Bug Reports
    Replies: 4
    Last Post: 5 Jan 2011, 10:33 AM
  3. [Done v1.3.9] PayPal Express &SHIPTOCITY
    By stagebrace in forum Bug Reports
    Replies: 1
    Last Post: 29 Oct 2009, 06:06 AM
  4. [Done 1.4.0] Paypal Express Checkout welcome email question
    By shawnz28 in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 13 Sep 2008, 04:47 PM
  5. Replies: 22
    Last Post: 15 Feb 2007, 06:16 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