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

    Default [Done v1.3.9d] Zone restrictions problem with PayPal Express Checkout

    Up until 1.3.9c I have limited my payment zone to the United States of America. I had to change that zone setting to -none- in order to allow a checkout from within the USA.

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

    Default Re: zones and PayPal Express Checkout

    Are the address_book entries for those customers properly showing full proper US addresses?
    Can you look in the address_book table and report the country ID and the zone id? is the state field properly blank (as it should be for US addresses)?
    .

    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: zones and PayPal Express Checkout

    Address are good, full, and proper.
    Last edited by stagebrace; 24 May 2010 at 07:01 PM.

  4. #4
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: zones and PayPal Express Checkout

    I Can duplicate the issue with a new and fresh install using 139c.
    1. Created a zone called USA for USA and all its states
    2. Installed PayPal Express checkout and limited its use to USA
    3. Installed USPS.
    4. Add an item to the cart and checkout with PayPal express.
    5. Login to my personal PayPal account and accept the purchase.

    Then directed back to my shopping cart with the following message.

    We are sorry for the inconvenience; however, at the present time we are unable to use PayPal to process orders from the geographic region you selected as your PayPal address. Please continue using normal checkout and select from the available payment methods to complete your order.

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

    Default Re: zones and PayPal Express Checkout

    Quote Originally Posted by stagebrace View Post
    Up until 1.3.9c I have limited my payment zone to the United States of America. I had to change that zone setting to -none- in order to allow a checkout from within the USA.
    Quote Originally Posted by stagebrace View Post
    I Can duplicate the issue with a new and fresh install using 139c.
    1. Created a zone called USA for USA and all its states
    2. Installed PayPal Express checkout and limited its use to USA
    3. Installed USPS.
    4. Add an item to the cart and checkout with PayPal express.
    5. Login to my personal PayPal account and accept the purchase.

    Then directed back to my shopping cart with the following message.

    We are sorry for the inconvenience; however, at the present time we are unable to use PayPal to process orders from the geographic region you selected as your PayPal address. Please continue using normal checkout and select from the available payment methods to complete your order.
    stagebrace,
    Thanks for the detailed steps to reproduce the problem.
    We're working on a fix.
    .

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

    Default Re: Zone restrictions problem with PayPal Express Checkout


    stagebrace is happy.

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

    Default Re: zones and PayPal Express Checkout

    The fix is pretty simple:
    /includes/modules/payment/paypalwpp.php
    at line 1669 you'll find this section of code
    Simply add the 2 lines as shown:
    Code:
        // reset all previously-selected shipping choices, because cart contents may have been changed
        if (!(isset($_SESSION['paypal_ec_markflow']) && $_SESSION['paypal_ec_markflow'] == 1)) unset($_SESSION['shipping']);
        global $order;
        $order->info['total'] = $response['AMT'];
    
    Code added to v1.3.9d
    .

    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.

  8. #8
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Zone restrictions problem with PayPal Express Checkout

    My test show it does work. I will put it into the working store and watch for errors.
    Thank you

    Dennis

  9. #9
    Join Date
    May 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: [Done v1.3.9d] Zone restrictions problem with PayPal Express Checkout

    I'm having that same problem, but the fix you suggested didn't work for me. I get the same error when I follow the same steps he mentioned on my site. I've got the USA country and stats loaded into my Countries and Regions too. Any suggestions would be greatly appreciated.

    Thanks.

    Joe

  10. #10
    Join Date
    May 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: [Done v1.3.9d] Zone restrictions problem with PayPal Express Checkout

    I just noticed I'm still on version 1.3.8. I'll update it and see if that makes any difference.

 

 

Similar Threads

  1. Zone restrictions problem with PayPal Express Checkout v1.3.9d
    By chicagoitsystems in forum Bug Reports
    Replies: 1
    Last Post: 30 Jun 2010, 11:40 PM
  2. Replies: 6
    Last Post: 2 Jun 2010, 09:39 AM
  3. Replies: 3
    Last Post: 14 May 2010, 09:24 PM
  4. Problem with paypal express checkout
    By JOKESBYPOST in forum General Questions
    Replies: 6
    Last Post: 7 Jul 2007, 08:02 PM
  5. problem with paypal express checkout
    By humbll in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 16 May 2007, 02:45 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