Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 55
  1. #21
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal has unexpectedly returned a blank address

    May have found a bug in virtual products handling, by virtue of the way PayPal handles addresses for virtual items.

    Try setting your product as "Product Is Virtual" = Yes, Skip Shipping Address.
    And make this small code change by adding in the new highlighted line exactly as shown:
    /includes/modules/payment/paypalwpp.php, line 1661 (v1.5.0)
    Code:
        // Check for blank address -- if address received from PayPal is blank, ask the customer to register in the store first and then resume checkout
    if ($_SESSION['cart']->get_content_type() != 'virtual')
        if ($response['SHIPTONAME'] . $response['SHIPTOSTREET'] . $response['SHIPTOSTREET2'] . $response['SHIPTOCITY'] . $response['SHIPTOSTATE'] . $response['SHIPTOZIP'] . $response['SHIPTOCOUNTRYCODE'] == '') {
    This fix is included in v1.5.1.
    .

    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. #22
    Join Date
    Dec 2011
    Location
    Atlanta, GA
    Posts
    32
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    I'll test it in about an hour after a db swap.

    Thanks for the idea, I would love to skip this shipping step.

  3. #23
    Join Date
    Dec 2011
    Location
    Atlanta, GA
    Posts
    32
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    No luck.


    I switched back to virtual and edited paypalwpp.

    While finalizing the purchase in PP, I was sent back to steps 2 and 3 of the cart.

  4. #24
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal has unexpectedly returned a blank address

    Steps 2 and 3 are still necessary. But the "unexpectedly returned a blank address" problem is gone, right?
    .

    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.

  5. #25
    Join Date
    Dec 2011
    Location
    Atlanta, GA
    Posts
    32
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    Quote Originally Posted by DrByte View Post
    Steps 2 and 3 are still necessary. But the "unexpectedly returned a blank address" problem is gone, right?
    Ok, I was confused. Step 3 "Order Confirmation" appeared to be a shipping confirmation because of the shipping address.

    So I guess I should rephrase my question:
    Why the return to the cart from PP?
    PP has these confirmation steps built in to their system.
    This is very confusing to customers who want a true express checkout.

  6. #26
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: PayPal has unexpectedly returned a blank address

    Quote Originally Posted by slingblade01 View Post
    So I guess I should rephrase my question:
    Why the return to the cart from PP?
    PP has these confirmation steps built in to their system.
    The return to cart is necessary so that these situations can be handled:
    - shipping, if applicable (needs address info to calculate)
    - taxes, if applicable (needs address info to calculate)
    - coupons, if offered (PayPal doesn't support this on their end)
    - gift certificates, if offered (PayPal doesn't support YOUR gift certs on their end, only the ones THEY issue)

    Plus, it's the way PayPal architected it initially. They're making some changes to bandage some of these limitations as time goes on, some even on our suggestion, amazingly enough.
    .

    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. #27
    Join Date
    Mar 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    #21 in this thread solved my issue.

    Thanks.

  8. #28
    Join Date
    Feb 2012
    Posts
    8
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    Just wondering if there are any new developments on this. I have the same problem and have tried #21 along with several other changes but no luck.

  9. #29
    Join Date
    Dec 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    I am having the same problem and post 21 didn't help ether. Its very frustrating! I am using V1.50 and moved from go daddy to host gator. I had no problem on go daddy

  10. #30
    Join Date
    Jun 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: PayPal has unexpectedly returned a blank address

    Post #21 solved it for me! (I'm using an entirely fresh install of v1.5 with no mods).

    Thanks DrByte!

    All the best

    Simon

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. v150 Paypal has returned a blank address
    By xr3461 in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 28 Dec 2012, 04:30 AM
  2. Replies: 3
    Last Post: 19 Sep 2012, 03:52 AM
  3. v150 Paypal has unexpectedly returned a blank address??
    By FourX in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 15 Sep 2012, 01:55 AM
  4. v150 Paypyal Express blank address returned
    By meljen in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 23 Jul 2012, 12:15 AM
  5. v150 "PayPal has unexpectedly returned a blank address"
    By swjake in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 17 Feb 2012, 11:18 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