Page 1 of 2 12 LastLast
Results 1 to 10 of 27

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    6
    Plugin Contributions
    0

    bug shiptostste problem with UK shipping address

    Hello Everyone,

    I would like to report a potential bug with the PayPal Express Checkout features in ZC v1.3.7

    My setup details are as follows:

    Zencart v1.3.7 + PPEC-137-patch + ultimate_seo_urls_v2.103

    I have setup the above version so that i can test the new PayPal Express Checkout features. I set everythign up, both in paypal and zencart (paypal live, not sandbox)

    When processing a test order, I got the errors reported, below:

    As you can see, the error is quite friendly and tells me that there is no value being passed for shiptostate. The shipping address that I used was UK shipping address. Therefore the value for the 'state' field for this shipping address was 'manchester'. The country was 'united kingdom'. In the UK we dont actually really have 'states' perse, but we have region names, such as northwest, southwest etc.

    Anyway, as a debugging excersise, I changed the test customers shipping city to 'New York' shipping state to 'New York' and entered a valid New York zip code - to my surprise IT WORKED PERFECTLY - took me to the papal payment page.

    However, this does not solve my problem.... for a typical UK address, the PayPal Express Checkout does not work.

    To check that my store was correctly set up, I went into Admin->Configuration->Mystore and found that the store 'country' was correctly set to UK.

    PLEASE CAN ANYONE HELP WITH THIS ISSUE. thanks in advance!


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

    Request Parameters: {SetExpressCheckout} array (
    'LOCALECODE' => 'US',
    'PAYMENTACTION' => 'Authorization',
    'ADDROVERRIDE' => '1',
    'SHIPTONAME' => 'Naani',
    'SHIPTOSTREET' => '1 Random Street',
    'SHIPTOSTREET2' => '',
    'SHIPTOCITY' => 'Manchester',
    'SHIPTOZIP' => 'M24 5JB',
    'SHIPTOSTATE' => '',
    'SHIPTOCOUNTRY' => 'GB',
    'REQCONFIRMSHIPPING' => '1',
    'EMAIL' => 'n.random######################',
    'PHONENUM' => '0123456789',
    'AMT' => '2.64',
    'RETURNURL' =>
    'http://www.i_have_removed_for_privacy.com/shop/ipn_main_handler.php?type=ec',
    'CANCELURL' =>
    'http://www.i_have_removed_for_privacy.com/shop/checkout_shipping.html?ec_cancel=1',
    'PAGESTYLE' => 'PayPal',
    'METHOD' => 'SetExpressCheckout',
    'CURRENCYCODE' => 'GBP',
    'USER' => 'xxxxxxxxx_api1.hotmail.com',
    'PWD' => '****************',
    'VERSION' => '2.3',
    'SIGNATURE' => '****************************************************caHZ',
    )

    Response: array (
    'ACK' => 'Failure',
    'L_ERRORCODE0' => '81108',
    'L_SHORTMESSAGE0' => 'Missing Parameter',
    'L_LONGMESSAGE0' => 'ShipToState : Required parameter missing',
    'L_SEVERITYCODE0' => 'Error',
    )

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: shiptostste problem with UK shipping address

    Turn off the SEO ... does this correct the problem?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: shiptostste problem with UK shipping address

    Hi Ajeh,

    Thanks for your prompt reply. Tried turning off SEO, but no diffeence, identical error, still complaining about shiptostate being blank.

    any more ideas?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: shiptostste problem with UK shipping address

    We found PayPal made some changes in their latest updates ...

    There is a new patch released last night for this, see if this corrects the issue and please let us know ...

    http://www.zen-cart.com/forum/showthread.php?t=56216
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: shiptostste problem with UK shipping address

    Hi Ajeh,

    Again, thanks for your reply, tried the updated patch, removed the paypal express module and reinstalled it, still no joy. Also found the following thread:

    http://www.zen-cart.com/forum/archiv...p/t-54760.html

    I did try one thing which got me further:

    I hard coded /includes/modules/payment/paypalwpp.php file:

    $options['LOCALECODE'] = '';

    and

    $options['SHIPTOSTATE'] = 'UK';

    now, the method in my madness is this: if the localecode is set to US, (as in my previous posting), the shiptostate is required + it is validated by paypal. However, if you leave localecode as null, it defaults to whatever the paypal account is, i.e. UK paypal in my case. The shiptostate is still required, but you can get away with entering anything in here. I hard coded 'UK'.

    However, I am not home and dry just yet. Now it does actually take me to the paypal website, but presents me with a screen which only has two fileds in it, one for the paypal account username and one for the paypal password and then a couple of links, one for sign up to paypal and one to return to the merchant.

    what am I missing??? is this something that is required in my paypal account.

    Thanks for your help... any more ideas appreciated... i can feel it in my grasp :-)

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: shiptostste problem with UK shipping address

    Quote Originally Posted by naani1 View Post
    Now it does actually take me to the paypal website, but presents me with a screen which only has two fileds in it, one for the paypal account username and one for the paypal password and then a couple of links, one for sign up to paypal and one to return to the merchant.

    what am I missing??? is this something that is required in my paypal account.
    This is normal.
    If you've logged into PayPal from this browser and not cleared cookies, you'll get a PayPal login page. If you don't have the cookie in your browser, you'll be presented with another page that lets you enter payment details w/o being a PayPal customer.
    .

    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
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: shiptostste problem with UK shipping address

    Quote Originally Posted by naani1 View Post
    I did try one thing which got me further:

    I hard coded /includes/modules/payment/paypalwpp.php file:

    $options['LOCALECODE'] = '';

    and

    $options['SHIPTOSTATE'] = 'UK';

    now, the method in my madness is this: if the localecode is set to US, (as in my previous posting), the shiptostate is required + it is validated by paypal. However, if you leave localecode as null, it defaults to whatever the paypal account is, i.e. UK paypal in my case. The shiptostate is still required, but you can get away with entering anything in here. I hard coded 'UK'.
    1. Valid LOCALECODEs (according to PayPal's documentation) are:
    AU, DE, FR, IT, GB, ES, US. Any other values default to US.
    This shouldn't have any bearing on the reported error returned from PayPal.

    2. For the particular customer address you're sending to PayPal when this occurs, what is the state/province value in Zen Cart? If it's blank in Zen Cart, then it'll be blank when sending to PayPal ... thus causing the problem 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.

  8. #8
    Join Date
    Feb 2007
    Location
    London UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: shiptostste problem with UK shipping address

    I am based in the UK. Even Having applied the latest patches I am having the same problem - ShipToState : Required parameter missing

  9. #9
    Join Date
    Feb 2007
    Location
    London UK
    Posts
    14
    Plugin Contributions
    0

    Default Re: shiptostste problem with UK shipping address

    Looking at the log file :

    [LOCALECODE] => GB
    [CURRENCY] => GBP
    [PAYMENTACTION] => Sale
    [ADDROVERRIDE] => 1
    [SHIPTONAME] => Paypal Test
    [SHIPTOSTREET] => Paypal Road
    [SHIPTOSTREET2] =>
    [SHIPTOCITY] => London
    [SHIPTOZIP] => N10 1BY
    [SHIPTOSTATE] =>
    [SHIPTOCOUNTRY] => GB

    The SHIPTOSTATE is blank, but with LOCALECODE (correctly) at GB this shouldn't matter(?)

    I have customers in UK, US and Europe, but as previously stated for UK and Europe customers selecting a 'STATE' is counter intuitive.

  10. #10
    Join Date
    Oct 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: shiptostste problem with UK shipping address

    I am running into the same problem in my testshop - located in Norway. I have not activated logfiles yet, but the email error reports say: Paypal Express checkout error (81108) - and body of email states "Missing Parameter - ShipToState : Required parameter missing"
    This parameter should not be required, in Norway (as in most of Europe) we do not have states, we do have counties, but they are never used as part of address.

    I am running a clean install of 1.3.7, with the latest patch for PPE and norwegian language, taxes and currency activated.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 16 Apr 2012, 08:05 PM
  2. Problem with shipping address not transfering
    By headchange4u in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 11 Feb 2010, 01:02 AM
  3. Replies: 3
    Last Post: 11 Sep 2008, 04:33 AM
  4. shipping and billing address problem at sign up with templatemonster template
    By snarkys in forum Managing Customers and Orders
    Replies: 11
    Last Post: 13 Mar 2007, 06:05 PM

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