Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Paypal has returned a blank address

    I have already setup downloads. I am testing my site as a customer. When i go directly to checkout or Paypal express, everything is fine - I finally get directed to the downloads page.

    However after logging in as an existing account holder, then go to Paypal express checkout, enter credit card details and press the pay now button, I get the error message saying Paypal has returned a blank address and wants me to login again. Even though I log in again, the error reappears.

    How to fix this ?

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

    Default Re: Paypal has returned a blank address

    I believe that was a bug that got fixed 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.

  3. #3
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal has returned a blank address

    I am unable to install v.1.5.1 directly to my server - it doe not work. Do you know what files i should replace in 1.5.0 to fix the problem.

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

    Default Re: Paypal has returned a blank address

    In the v1.5.1 zip file there is a /docs/ folder, which contains a changed-files-v151.html file where you can see the list of files that need replacing to upgrade to v1.5.1. And then upload the zc_install folder and run the zc_install/index.php from your browser to do the database-upgrade steps too.
    .

    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. #5
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal has returned a blank address

    I am unable to install v.1.5.1 directly to my server . Have already tried it before - it doe not work. Is there a patch I can use to fix this problem without upgrading ?

    I think the problem is in the database address book and the paypal form not matching. I am in AU. So the paypal address form has been set to AU address format while the zencart form has been set to US address Format.

    Hear is my paypal form ( address section ) –

    Unit Number or Building Name and Level(if applicable)
    Shipping address
    Street number
    Street name
    Street type
    Location
    Suburb or city
    State
    Post code
    Phone type
    Country code and phone number
    Country code and phone number
    Country code
    Phone number
    Email

    Here is my zencart sign up form ( address section ) –

    Street Address:*
    City:*
    Country: *
    State/Province: *
    Post/Zip Code:*
    Additional Contact Details
    Telephone:*
    Login Details
    Email Address:*


    As you will see the two don’t match. For example in AU it is - suburb, and in US it is - Zip code

    This is my database details –

    address_book_id int(11)
    customers_id int(11)
    entry_gender char(1)
    entry_company varchar(64)
    entry_firstname varchar(32)
    entry_lastname varchar(32)
    entry_street_address varchar(64)
    entry_suburb varchar(32)
    entry_postcode varchar(10)
    entry_city varchar(32)
    entry_state varchar(32)
    entry_country_id int(11)
    entry_zone_id int(11)
    entry_telephone varchar(50)


    I analyzed my new customer account details in the address book in the database. Please note that this was a first time account automatically created by PAYPAL when I bought an item. The problem only happens if I LOG IN again with the new details ( email and password ) and try to buy an item.

    In my zen cart database account, the entry_state is not recorded. However it has been recorded correctly under billing information in zencart.


    I think the php file responsible for sorting out the correct match between paypal and zencart is not working properly because of the difference in Suburb and Zip Code.

    I do not want to run the risk of trying to upgrade again and crashing. Is there a patch I can use to fix this problem without upgrading ?

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

    Default Re: Paypal has returned a blank address

    These may help: http://www.zen-cart.com/showthread.p...29-with-v1-5-0

    As for upgrading, saying "it does not work" is, well, weak. You will need to upgrade at some point. Better to figure out exactly what your problems are with that and get it sorted so you don't end up with an emergency on your hands one day. Of course, upgrading is a topic for a separate discussion.
    .

    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. #7
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal has returned a blank address

    do you know which php file is responsible for handling data between paypal form and database address book ?

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

    Default Re: Paypal has returned a blank address

    The problem you're having is a bug in handling virtual products. It's not isolated to address-book issues. The fix you need is described in a post contained in the link I gave you in my last post.
    And the entry_state is normally blank when there is an entry_zone applied, so that's not the issue.
    .

    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.

  9. #9
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal has returned a blank address

    thks for the info. will try upgrade.

  10. #10
    Join Date
    Dec 2012
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal has returned a blank address

    Just to help someone else, DrByte's post worked out for me -

    http://www.zen-cart.com/showthread.p...91#post1093291

    thks

 

 

Similar Threads

  1. PayPal has unexpectedly returned a blank address
    By mibo21 in forum PayPal Express Checkout support
    Replies: 54
    Last Post: 30 Sep 2014, 09:19 PM
  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