Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Apr 2010
    Posts
    7
    Plugin Contributions
    0

    application error [Done v1.3.9b] 10713 Invalid Data - Missing Country

    I am using a clean Zen Cart install, unmodified (v1.3.9a). I have just set up the PayPal Web Payments Pro payment module (and express module) with my sandbox API credentials. When I try a test purchase after successfully creating an account I receive the following error:

    10713 Invalid Data - There's an error with this transaction. Please enter a country in the billing address.

    Are far as I can tell from the debug logs the country is being included. Below is the data from the log file with a few things removed by me for privacy.

    Any help is much appreciated!

    Apr-27-2010 09:38:04 (1272382684)
    before_process - DP-4
    options: Array
    (
    [AMT] => 22.50
    [ITEMAMT] => 20.00
    [SHIPPINGAMT] => 2.50
    [STREET] => [REMOVED BY ME]
    [ZIP] => 11218
    [CITY] => Brooklyn
    [STATE] => NY
    [EXPDATE] => 042010
    [EMAIL] => alhadro######################
    [PHONENUM] => [REMOVED BY ME]
    [BUTTONSOURCE] => ZenCart-DP_us
    [CURRENCY] => USD
    [IPADDRESS] => [REMOVED BY ME]
    [CARDISSUE] =>
    [CUSTOM] => DP-1-1272382684
    [COUNTRY] => US
    [PAYMENTACTION] => Sale
    [SHIPTONAME] => Andrew Hadro
    [SHIPTOSTREET] => [REMOVED BY ME]
    [SHIPTOCITY] => Brooklyn
    [SHIPTOZIP] => 11218
    [SHIPTOSTATE] => NY
    [SHIPTOCOUNTRY] => US
    )

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

    Default Re: 10713 Invalid Data - Missing Country

    There should be a PayPal-CURL-xxxxx.log file alongside that one. What's in that?
    .

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

    Default Re: 10713 Invalid Data - Missing Country

    2010-04-27 09:38:04
    -------------------
    (sandbox transaction) --> https://api.sandbox.paypal.com/nvp
    Request Headers:
    Array
    (
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(tm) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.9
    )


    Request Parameters: {DoDirectPayment}
    Array
    (
    [ACCT] => ************1535
    [AMT] => 22.50
    [BUTTONSOURCE] => ZenCart-DP_us
    [CARDISSUE] =>
    [CITY] => Brooklyn
    [CREDITCARDTYPE] => Visa
    [CUSTOM] => DP-1-1272382684
    [CVV2] => ***
    [EMAIL] => alhadro######################
    [EXPDATE] => 042010
    [FIRSTNAME] => Andrew
    [IPADDRESS] => [REMOVED BY ME]
    [ITEMAMT] => 20.00
    [LASTNAME] => Hadro
    [NOTIFYURL] => http://www.###########com/store/ipn_main_handler.php
    [PAYMENTACTION] => Sale
    [PHONENUM] => ############
    [SHIPPINGAMT] => 2.50
    [SHIPTOCITY] => Brooklyn
    [SHIPTOCOUNTRY] => US
    [SHIPTONAME] => Andrew Hadro
    [SHIPTOSTATE] => NY
    [SHIPTOSTREET] => [REMOVED BY ME]
    [SHIPTOZIP] => 11218
    [STATE] => NY
    [STREET] => [REMOVED BY ME]
    [ZIP] => 11218
    [METHOD] => DoDirectPayment
    [CURRENCYCODE] => USD
    [USER] => ###############
    [PWD] => **********
    [VERSION] => 60.0
    [SIGNATURE] => ****************************************************J0Yq
    )


    Response:
    Array
    (
    [TIMESTAMP] => 2010-04-27T15:38:04Z
    [CORRELATIONID] => 7a83ae91718ca
    [ACK] => Failure
    [VERSION] => 60.0
    [BUILD] => 1268624
    [L_ERRORCODE0] => 10713
    [L_SHORTMESSAGE0] => Invalid Data
    [L_LONGMESSAGE0] => There's an error with this transaction. Please enter a country in the billing address.
    [L_SEVERITYCODE0] => Error
    [AMT] => 22.50
    [CURRENCYCODE] => USD
    [CURL_ERRORS] =>
    )


    DoDirectPayment, Elapsed: 689ms -- Failure

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

    Default Re: 10713 Invalid Data - Missing Country

    Go to Admin->Modules->Payment, select your Express Checkout module, and tell me what mode you're in. Are you in "PayPal" mode? or "Payflow-UK" mode? or "Payflow-US" mode?
    If you're in one of the "Payflow" modes, why?
    If you've got a Payflow option selected, then click Edit, and tell me whether you've filled in the Payflow fields at the bottom, with the Partner/Vendor/User/Password information, and again, why?
    If you're not really using one of PayPal's payflow products, then you should delete the partner/vendor/user/password information, and set your mode to PayPal instead.

    Having those payflow fields filled in will cause your express and pro transactions to be treated, at least in part, as data prepared for submission to the payflow servers, which is formatted differently than for the main paypal servers. And one of those differences is the countrycode field that's evidently missing from your transaction submissions.
    .

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

    Default Re: 10713 Invalid Data - Missing Country

    It is in PayPal mode, not either Payflow. Thanks for your help, any other suggestions?

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

    Default Re: 10713 Invalid Data - Missing Country

    And, did you check whether you've got a password set in one of the payflow fields?
    .

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

    Default Re: 10713 Invalid Data - Missing Country

    Yes, I made sure all of those fields are empty.

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

    Default Re: 10713 Invalid Data - Missing Country

    So, does "I made sure those fields are empty" mean that they were *already* empty? Or does it mean that you've now emptied them, and thus need to test a transaction?
    .

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

    Default Re: 10713 Invalid Data - Missing Country

    My apologies, allow me to elaborate. When I checked the PayPal Website Payments Pro (USA) section in the Payments Module the PayPal mode was already set to and has been set to "PayPal". To ensure the Payflow fields were indeed blank, I set it to Payflow-US and Payflow-UK to check. All fields were indeed blank except PAYFLOW: Partner which was set by default to PayPal. That is now cleared, and I have re-set the PayPal mode back to PayPal and retested with browser cache cleared and the problem still occurs.

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

    Default Re: 10713 Invalid Data - Missing Country

    Moving this to the Bug Reports section:

    I am using a clean Zen Cart install, unmodified (v1.3.9a). I have just set up the PayPal Web Payments Pro payment module (and express module) with my sandbox API credentials. When I try a test purchase after successfully creating an account I receive the following error:

    10713 Invalid Data - There's an error with this transaction. Please enter a country in the billing 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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139f 10426 Invalid Data - Item total is invalid
    By paddyc in forum General Questions
    Replies: 1
    Last Post: 9 Dec 2015, 01:16 AM
  2. v139b (10713) Invalid Data - There's an error with this transaction.
    By priyazerosoft in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 21 May 2014, 07:27 PM
  3. [Resolved: operator error] error:10713 Invalid Data (missing country)
    By Lineage in forum PayPal Website Payments Pro support
    Replies: 4
    Last Post: 3 Aug 2010, 05:42 PM
  4. Google data feed error: weight missing & invalid expiration date
    By alimtlai in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Oct 2009, 04:21 AM
  5. Replies: 5
    Last Post: 15 Sep 2009, 10:21 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