Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 74
  1. #41
    Join Date
    Oct 2006
    Posts
    81
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Anyone know of anything happening with this yet? I presume every Uk user is going to be having this problem - that has to make it pretty high priority?

  2. #42
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    As far as I am aware, this is still being worked on. Maybe DrByte could post an update when he gets a few moments?

    Hopefully not long now, having to hold off on a few sites until this bug is fixed.
    Jamie @ Fuzion

    www.InkFuzion.co.uk
    www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)

  3. #43
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Are these normal products or downloadable products?

    http://www.zen-cart.com/forum/showpo...82&postcount=4
    .

    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.

  4. #44
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Hi DrByte,

    These are all normal products.

    J
    Jamie @ Fuzion

    www.InkFuzion.co.uk
    www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)

  5. #45
    Join Date
    Oct 2006
    Posts
    81
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    All normal products here too

  6. #46
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Mine are normal products too.

    On more testing I found that if i click the pre checkout EC link i can log into PayPal then when it returns me to my site it comes back with the country United States instead of United Kingdom. I checked my papal address and it is UK.

    If i use the PayPal option at checkout i simply get the red box with the following

    An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Regards

    Dave.

    beauty is in the eye of the beer holder

  7. #47
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Quote Originally Posted by hedgepig View Post
    All i do to get this problem is this:

    I install a fresh version of zen 1.3.8a and a new empty database
    i then use the UK zones paypal compatible module from your download section (could this be causing the problem???)
    in my store i set as united kingdom and lancashire - in creat account default country id is set to united kingdom.

    I set all necessary details in modules/payment - only paypal website payments pro and paypal express checkout (pro 2.0 payflow uk) are green

    I then add one fictional item and picture.

    i then add this item to my shopping cart

    i create an account for myself using addy in this country (uk)

    i then select to checkout - i have two radio buttons,: fill in credit card details (which seem to work fine) or paypal - when i select the paypal and confirm order i then get the error The field Shipping Address Country is required
    Lyn,
    Thank you for the detailed steps for how-to-recreate this problem.

    I think I may have found something that may provide some relief.
    Will post shortly ...
    .

    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. #48
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    For v1.3.8a:
    /includes/modules/payment/paypal/paypal_curl.php
    around line 114 you have a section of code that looks like the following.

    Add the additional lines, as shown:
    Code:
      function SetExpressCheckout($amount, $returnUrl, $cancelUrl, $optional = array()) {
        $values = array_merge($optional, array('AMT'       => $amount,
                                               'RETURNURL' => urlencode($returnUrl),
                                               'CANCELURL' => urlencode($cancelUrl)));
        if ($this->_mode == 'payflow') {
          $values = array_merge($values, array('ACTION'  => 'S', /* ACTION=S denotes SetExpressCheckout */
                                               'TENDER'  => 'P',
                                               'TRXTYPE' => $this->_trxtype,
                                               'RETURNURL' => $returnUrl,
                                               'CANCELURL' => $cancelUrl));
        } elseif ($this->_mode == 'nvp') {
          if (!isset($values['PAYMENTACTION'])) $values['PAYMENTACTION'] = ($this->_trxtype == 'S' ? 'Sale' : 'Authorization');
        }
    
        // convert country code key to proper key name for paypal 2.0 (needed when sending express checkout via payflow gateway, due to PayPal field naming inconsistency)
        if ($this->_mode == 'payflow') {
          if (!isset($values['SHIPTOCOUNTRY']) && isset($values['SHIPTOCOUNTRYCODE'])) {
            $values['SHIPTOCOUNTRY'] = $values['SHIPTOCOUNTRYCODE'];
            unset($values['SHIPTOCOUNTRYCODE']);
          }
        }
    
        // allow page-styling support -- see language file for definitions
        if (defined('MODULE_PAYMENT_PAYPALWPP_PAGE_STYLE'))   $values['PAGESTYLE'] = MODULE_PAYMENT_PAYPALWPP_PAGE_STYLE;
    .

    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. #49
    Join Date
    Jan 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    Quote Originally Posted by DrByte View Post
    For v1.3.8a:
    /includes/modules/payment/paypal/paypal_curl.php
    around line 114 you have a section of code that looks like the following.
    Thank you very much.

    I still have the wrong shipping country though. I can now succesfully complete checkout using both the pre checkout link and the link on the payment page.

    However i still get the incorrect country on the shipping address. I have only 1 address book entry allowed in the cart. My address in my cart and on my buyer paypal account are as follows

    My Name
    Street Address
    Area
    City
    Post Code
    United Kingdom

    After completing either of the paypal payment links the shipping address in the cart is

    My Name
    Street Address
    Area
    City, City Post Code <---------------- City listed twice
    United States <---------------- Wrong Country

    When the cart takes me to the PayPal page it does show the postal address with the correct country before returning me to the cart.

    I am testing this with a Live Buyer and Live Seller account.
    I am using 1.3.8a with the code you just posted added into /includes/modules/payment/paypal/paypal_curl.php.
    I have tried this while being logged in on our shop and logged out on our shop.
    Regards

    Dave.

    beauty is in the eye of the beer holder

  10. #50
    Join Date
    Jan 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: "(7) 7 - Field format error: 10731-The field Shipping Address Country is required

    MANY THANKS!! Works fine now.

    Contribution on it's way.

 

 
Page 5 of 8 FirstFirst ... 34567 ... LastLast

Similar Threads

  1. Making a "Address Line 2" registration field a required
    By vladimir_vulic in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jan 2019, 02:27 AM
  2. v153 Moving "country" field breaks state field
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Oct 2014, 12:18 AM
  3. Replies: 5
    Last Post: 21 Sep 2009, 09:15 PM
  4. I need to make the "company" field a required field
    By semaxd in forum Managing Customers and Orders
    Replies: 2
    Last Post: 30 Jun 2008, 09:09 PM
  5. Field format error: 10731-The field Shipping Address Country
    By infocom in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 27 May 2008, 10:30 AM

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