Page 1 of 8 123 ... LastLast
Results 1 to 10 of 75
  1. #1
    Join Date
    Nov 2009
    Posts
    4
    Plugin Contributions
    0

    Default Paypal Express Checkout - Shipping Address Issue

    Zen cart: v1.3.9b

    I currently have an issue with the Paypal Express Checkout Module on a certain website. Basically the issue occurs when a user checks out in the normal manner, ie:

    - Shipping Address
    - Billing Address
    - Confirm Order
    - Customer sent to Paypal for payment

    However, it doesn't matter what shipping address is entered, it is always over-ridden by the address held in Paypal when the order is sent back to the zen cart system.

    Is there some sort of flag which needs to be turned on in a payment module file to send the shipping address? Any help would be much appreciated

  2. #2
    Join Date
    Jan 2004
    Posts
    66,408
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Have you tested this in v1.3.9h? There were numerous updates to all the PayPal code in v1.3.9c, d, e, f, g, and h.

    Also, be sure to answer all the questions in the Posting Tips section of the screen which appears when you click Reply below.
    .

    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
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Quote Originally Posted by webhorizons View Post
    Zen cart: v1.3.9b

    I currently have an issue with the Paypal Express Checkout Module on a certain website. Basically the issue occurs when a user checks out in the normal manner, ie:

    - Shipping Address
    - Billing Address
    - Confirm Order
    - Customer sent to Paypal for payment

    However, it doesn't matter what shipping address is entered, it is always over-ridden by the address held in Paypal when the order is sent back to the zen cart system.

    Is there some sort of flag which needs to be turned on in a payment module file to send the shipping address? Any help would be much appreciated
    Apologies for raising this post up again, however I have searched the forum and I am unable to find an answer to this problem!

    As explained by webhorizons zen cart is not sending the shipping address to Paypal. The billing address the customer enters in zen cart is instead taken as the delivery address on the Paypal page. However when the customer enters their credit card and address details on Paypal this over rides everything and is sent back to zen cart as the customers delivery address.

    I am using version 1.3.9h - At first I thought it may have something tod with the address over ride setting however this is set to 1 (extract of paypalwpp log shown below):

    PHP Code:
        // If the customer has changed their shipping address,
          // override the shipping address in PayPal with the shipping
          // address that is selected in Zen Cart.
          
    if ($order->delivery['street_address'] != $_SESSION['paypal_ec_payer_info']['ship_street_1'] && $_SESSION['paypal_ec_payer_info']['ship_street_1'] != '') {
            
    $_GET['markflow'] = 2;
            if ((
    $address_arr $this->getOverrideAddress()) !== false) {
              
    // set the override var
              
    $options[COLOR="Red"]['ADDROVERRIDE'] = 1;[/COLOR]          // set the address info
              
    $options['SHIPTONAME']    = $address_arr['entry_firstname'] . ' ' $address_arr['entry_lastname'];
              
    $options['SHIPTOSTREET']  = $address_arr['entry_street_address'];
              if (
    $address_arr['entry_suburb'] != ''$options['SHIPTOSTREET2'] = $address_arr['entry_suburb'];
              
    $options['SHIPTOCITY']    = $address_arr['entry_city'];
              
    $options['SHIPTOZIP']     = $address_arr['entry_postcode'];
              
    $options['SHIPTOSTATE']   = $address_arr['zone_code'];
              
    $options['SHIPTOCOUNTRYCODE'] = $address_arr['countries_iso_code_2']; 
    Is there any other file/setting that I should be checking?

    Thanks in advance

  4. #4
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Does anyone have an answer to this problem?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,408
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Paypal Express Checkout - Shipping Address Issue

    It's working as designed. PayPal only accepts submission of one address. They treat that as the shipping address.
    .

    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. #6
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Quote Originally Posted by DrByte View Post
    It's working as designed. PayPal only accepts submission of one address. They treat that as the shipping address.
    Thanks DrByte but I am totally confused now. So are you telling me when the customer changes their delivery address in Zen cart they must do this again on the Paypal payment page?

    Why does the code state it will over ride Paypal's shipping address?
    [SCR] // If the customer has changed their shipping address,
    // override the shipping address in PayPal with the shipping
    // address that is selected in Zen Cart.
    [/SCR]

  7. #7
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Can anyone on here get zencarts delivery address to override paypals?

  8. #8
    Join Date
    Jun 2008
    Location
    Warrenpoint, United Kingdom
    Posts
    44
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Hi rebelman did you have any luck with this?

    Regarding a work around, there must be a way to keep the delivery address within zen cart separate (so it shows as the delivery address in emails and on the customers account) and change the code so it sends the billing address to PayPal.

    I don't understand why the shipping address is sent and not the billing address! Surely it's Zen Cart that chooses which information is sent to PayPal

  9. #9
    Join Date
    Nov 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Paypal Express Checkout - Shipping Address Issue

    HI howb, still looking for a solution! I agree surely there is some workaround. I'm moving to another payment provider shortly but would still like to fix this.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,408
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Paypal Express Checkout - Shipping Address Issue

    Quote Originally Posted by howb View Post
    I don't understand why the shipping address is sent and not the billing address! Surely it's Zen Cart that chooses which information is sent to PayPal
    Yes. PayPal offers fields for submitting an address. They are:
    SHIPTONAME
    SHIPTOSTREET
    SHIPTOSTREET2
    SHIPTOCITY
    SHIPTOZIP
    SHIPTOSTATE
    SHIPTOCOUNTRYCODE

    Can you perhaps see from that WHY Zen Cart would be giving the SHIPPING address for the data submitted in those fields. After all, they're named SHIPTOxxxxxxx.

    Presently PayPal specifically does NOT ACCEPT multiple addresses, and SPECIFICALLY does NOT ACCEPT *billing* address submission with orders, because PayPal does billing address handling on their side directly.

    So, you can see why Zen Cart does what it does. It's following PayPal's rules.

    If you want to have PayPal change how they work, please log a request for changed features with PayPal directly. We'd like them to expand and support submission of billing addresses, but thus far they haven't had enough demand from people like you for them to see how important it is.
    .

    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.

 

 
Page 1 of 8 123 ... LastLast

Similar Threads

  1. v137 "shipping address country empty" gives error in paypal express checkout
    By amruta2104 in forum General Questions
    Replies: 4
    Last Post: 2 Aug 2012, 08:19 PM
  2. v138a shipping address override issue in paypal express checkout.
    By Kapil Raja in forum General Questions
    Replies: 6
    Last Post: 4 Apr 2012, 06:29 PM
  3. v139a paypal express checkout shipping address not override the paypal address
    By amruta2104 in forum General Questions
    Replies: 2
    Last Post: 28 Mar 2012, 12:09 PM
  4. Paypal express checkout international shipping issue
    By mbrandonyc in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 11 May 2011, 05:12 PM
  5. "confirmed address" issue - PayPal Express Checkout
    By smkeith in forum Addon Payment Modules
    Replies: 7
    Last Post: 9 May 2008, 05:55 PM

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