Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Feb 2005
    Location
    West Yorkshire, UK
    Posts
    70
    Plugin Contributions
    0

    Default delivery country error

    I've upgrade one of my sites form 1.3.5-1.3.7 (via 1.3.6) and all seems ok apart from the Paypal express checkout.

    I've set it all up with the api stuff and the button shows up in the cart and when you click on it, it seems to be working then you select to review the order, which sends you back to the site with the "checkout with paypal" select you then click the continue button to go to the order confirm page, but when you click to confirm it sends you back to the delivery info page.
    When you continue through it again, it sends you back from the confirmation page to delivery page again.

    I turned on the debug and this was the only thing that looks dodgy:

    Response: array (
    'TIMESTAMP' => '2007-01-01T14:41:05Z',
    'CORRELATIONID' => '949c4542c5c30',
    'ACK' => 'Failure',
    'L_ERRORCODE0' => '10725',
    'L_SHORTMESSAGE0' => 'Shipping Address Country Error',
    'L_LONGMESSAGE0' => 'There was an error in the Shipping Address Country field',
    'L_SEVERITYCODE0' => 'Error',
    'VERSION' => '2.300000',
    'BUILD' => '1.0006',
    )

    Further up the log is this: 'SHIPTOCOUNTRY' => 'UK',

    A different log give this:
    [messageToStack] => Array
    (
    [0] => Array
    (
    [class] => checkout_shipping
    [text] => 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. (10725)
    [type] => error
    )

    )

    )


    Any help would be great.

    Thanks
    ---------------------------------------------
    www.seamless-packages.co.uk

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: delivery country error

    My understanding from the upgrade document(s) is:
    PayPal Express Checkout
    (ONLY supports North American PayPal accounts at the present time (ie: UK merchants *not* yet supported))

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: delivery country error

    There shouldn't be any problem shipping "TO" the U.K.
    The limitation is only where the PayPal account is a UK-domiciled account ... which "could" be the case given the URL of the poster ... It would be handy to have confirmation about the account.

    'L_ERRORCODE0' => '10725',
    'L_SHORTMESSAGE0' => 'Shipping Address Country Error',
    'L_LONGMESSAGE0' => 'There was an error in the Shipping Address Country field',

    Further up the log is this: 'SHIPTOCOUNTRY' => 'UK',
    Of course, this would appear to be correct and thus the error message is confusing.
    Strangely enough, I've done many tests using addresses with "UK" as the country choice and they all went through fine, both "live" and "sandbox".

    Do you have any restrictions in your PayPal profile preventing sale to folks in UK?
    .

    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. #4
    Join Date
    Feb 2005
    Location
    West Yorkshire, UK
    Posts
    70
    Plugin Contributions
    0

    Default Re: delivery country error

    It is a UK Paypal account. I'm not aware of any restrictions on the paypal account. I've had a look through and can't see anything on the paypal side that would get in the way.

    Has anyone in the UK got this working?

    Many thanks
    ---------------------------------------------
    www.seamless-packages.co.uk

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: delivery country error

    'L_ERRORCODE0' => '10725',
    'L_SHORTMESSAGE0' => 'Shipping Address Country Error',
    'L_LONGMESSAGE0' => 'There was an error in the Shipping Address Country field',

    Further up the log is this: 'SHIPTOCOUNTRY' => 'UK',
    The ISO code for United Kingdom is "GB" and not "UK", hence the error.
    The default Zen Cart installation uses 'GB' if someone chooses 'United Kingdom' from the list of countries. And PayPal uses the ISO standard as well. I'm not sure how you ended up sending 'UK' ...
    .

    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 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: delivery country error

    I must also add a clarification.

    The upgrade documentation mistakenly says:
    PayPal Express Checkout
    (ONLY supports North American PayPal accounts at the present time (ie: UK merchants *not* yet supported))
    In fact, Express Checkout is supported internationally.



    The error was a result of the fact that the Website Payments Pro features (currently in development) are not supported outside the U.S. The facts in the documentation got mixed up.
    Sorry for the confusion on that part.
    .

    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
    Feb 2005
    Location
    West Yorkshire, UK
    Posts
    70
    Plugin Contributions
    0

    Default Re: delivery country error

    OK changing the country code to GB gets me a little bit further:

    1) add something to cart
    2) click the checkout with paypal button
    3) login to paypal
    4) click review order
    5) (returned to site) review order and click confirm
    6) you are sent to the delivery page, click next
    7) on payment info page, click continue
    8) review order (again) and click confirm
    9) Login to paypal (again)
    10) Click pay now button
    11) I'm sent back to delivery info page
    12) repeat steps 7 through 12 again and again and you get the idea.

    After looking through many log emails I found this:
    Redirecting to checkout_payment - Stack: checkout_payment
    Message: We were not able to process your order. Please try again, select an alternate payment method, or contact the store owner for assistance.
    (Invalid HTTP Header)
    Session Data: Array
    (
    [customers_host_address] =>
    **-**-**-**.cable.ubr11.brad.blueyonder.co.uk
    [cartID] =>
    [cart] => shoppingcart Object
    (
    [observers] => Array
    (
    )

    [contents] => Array
    (
    [956] => Array
    (
    [qty] => 1
    )

    )

    [total] => 7.99
    [weight] => 0
    [cartID] =>
    [content_type] => physical
    [free_shipping_item] => 0
    [free_shipping_weight] => 0
    [free_shipping_price] => 0
    )

    [navigation] => navigationhistory Object
    (
    [observers] => Array
    (
    )

    [path] => Array
    (
    [0] => Array
    (
    [page] => logoff
    [mode] => NONSSL
    [get] =>
    [post] => Array
    (
    )

    )

    [1] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    [token] => EC-2C051271A8191213T
    [PayerID] => JSM2VUJD94DH6
    )

    [post] => Array
    (
    )

    )

    [2] => Array
    (
    [page] => checkout_payment
    [mode] => NONSSL
    [get] =>
    [post] => Array
    (
    )

    )

    [3] => Array
    (
    [page] => checkout_confirmation
    [mode] => NONSSL
    [get] =>
    [post] => Array
    (
    )

    )

    [4] => Array
    (
    [page] => checkout_process
    [mode] => NONSSL
    [get] =>
    [post] => Array
    (
    )

    )

    )

    [snapshot] => Array
    (
    [page] => index
    [mode] => NONSSL
    [get] => Array
    (
    [type] => ec
    [token] => EC-5B391287S2313291Y
    [PayerID] => JSM2VUJD94DH6
    )

    [post] => Array
    (
    )

    )

    )

    [check_valid] => true
    [language] => english
    [languages_id] => 1
    [languages_code] => en
    [currency] => GBP
    [updateExpirations] => 1
    [session_counter] => 1
    [customers_ip_address] => **.**.***.**
    [new_products_id_in_cart] => 956
    [valid_to_checkout] => 1
    [cart_errors] =>
    [payment] => paypalwpp
    [messageToStack] => Array
    (
    [0] => Array
    (
    [class] => checkout_payment
    [text] => We were not able to process your order. Please try again, select an alternate payment method, or contact the store owner for assistance. (Invalid HTTP Header)
    [type] => error
    )

    )

    [customer_guest_id] => 147
    [customer_id] => 147
    [customer_default_address_id] => 172
    [customer_first_name] => Warren
    [customer_country_id] => 223
    [customer_zone_id] => 0
    [sendto] => 172
    [billto] => 172
    [shipping] => Array
    (
    [id] => item_item
    [title] => Per Item (Best Way)
    [cost] => 0
    [module] => item
    )

    [comments] =>
    )
    I also found this which says the severitycode is ERROR:

    https://api-3t.paypal.com/nvp
    live
    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 WPP-NVP',
    4 => 'X-VPS-VIT-Integration-Version: 0.1',
    )

    Request Parameters: array (
    '' => NULL,
    )

    Response: array (
    'TIMESTAMP' => '2007-01-02T19:57:05Z',
    'CORRELATIONID' => 'NotSet',
    'L_ERRORCODE0' => '10001',
    'L_SHORTMESSAGE0' => 'Invalid HTTP Header',
    'L_LONGMESSAGE0' => 'PPBaseException: CONTENT_LENGTH must be >0 Backtrace:
    8394a09 8394999 83af49a 81ad550 8059015 40b119cb 8056341',
    'L_SEVERITYCODE0' => 'Error',
    'BUILD' => '1.0006',
    )
    It seems to do different random things depending on what settings I change in the module.

    I only have one country:
    United Kingdom GB GBR
    No Zones, plus I've turned off the coupons and discounts for now, but will want to turn them back on.

    Cheers
    ---------------------------------------------
    www.seamless-packages.co.uk

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: delivery country error

    Can you set up a fresh v1.3.7 site on your server, using demo products, and configure the PayPal Express Checkout module the very same as on your main site, and then test to see if the same thing happens?

    I suspect something was missed in upgrading.
    Either that or there is some configuration setting in your live site that is causing a conflict somewhere ... and applying changes progressively to the new install will help isolate the cause of the problem.
    .

    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
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: delivery country error

    You might also grab the update I posted here:
    http://www.zen-cart.com/forum/showth...246#post309246
    and see if using it provides any relief to the problems you're reporting.
    .

    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.

  10. #10
    Join Date
    Feb 2005
    Location
    West Yorkshire, UK
    Posts
    70
    Plugin Contributions
    0

    Default Re: delivery country error

    I've upgrade a second site and I get the same problem. at the top of the confirmation page it says:
    We were not able to process your order. Please try again, select an alternate payment method, or contact the store owner for assistance. (Invalid HTTP Header)
    One of the log files as the same as the other site:
    Response: array (
    'TIMESTAMP' => '2007-01-07T10:46:12Z',
    'CORRELATIONID' => 'NotSet',
    'L_ERRORCODE0' => '10001',
    'L_SHORTMESSAGE0' => 'Invalid HTTP Header',
    'L_LONGMESSAGE0' => 'PPBaseException: CONTENT_LENGTH must be >0 Backtrace: 8394a09 8394999 83af49a 81ad550 8059015 40b119cb 8056341',
    'L_SEVERITYCODE0' => 'Error',
    'BUILD' => '1.0006',
    )
    Tried that new paypalwpp.php but no joy.

    One log file has this:
    'LOCALECODE' => 'US'
    Dunno if this has anything to do with it as I'm in the UK (GB). As I said this is the second upgrade so either I'm really crap and got a second upgrade wrong or it's a bug/ setting that's wrong. I've got a new project coming up so I'll see what happens with that.
    ---------------------------------------------
    www.seamless-packages.co.uk

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Delivery Address Error
    By Derek Bryant in forum PayPal Website Payments Pro support
    Replies: 2
    Last Post: 30 Mar 2013, 11:03 PM
  2. Different country list for invoice vs delivery
    By dj060004 in forum General Questions
    Replies: 0
    Last Post: 25 May 2011, 09:42 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. Country Error
    By CnTGifts in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 2 Jan 2007, 06:02 PM
  5. UPS Delivery Area Surcharge causing errors in out of country shipping
    By danmcguire in forum Addon Shipping Modules
    Replies: 0
    Last Post: 12 Jun 2006, 04:02 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