Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2011
    Location
    Ohio
    Posts
    28
    Plugin Contributions
    0

    Default Incorrect state abbreviation being passed to ???

    Hello,

    I am running v1.3.9h and recently enabled the PayPal Express module. When testing PayPal, I did a couple test sales to Florida and Ohio and did not receive any error messages. Tonight, I tried a test sale to Texas using COWOA and selected the state from the drop-down list. When I clicked Continue, I received the following error message:

    "Error encountered looking up tax amount The Ship To State (Te) is not valid"

    Since "Te" is not the abbreviation for Texas, I suspect that's the issue, but I can't find where the "Te" is coming from. I checked Admin -> Locations / Taxes -> Zones and confirmed the abbreviation listed for Texas is listed as "TX". Any idea where the "Te" is coming from? I've shipped products to Texas before with no problem, but not with the PayPal Express checkout, though this error message comes on the screen prior to selecting the payment type. I am also running TaxCloud plugin v1.4.4 and have not had any problems since installing it about a year ago.


    Thanks,

    Jeff

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

    Default Re: Incorrect state abbreviation being passed to ???

    I'm inclined to point fingers at TaxCloud and COWOA.

    Regardless, v1.3.9 is from 5 years ago, and there have been hundreds of improvements in subsequent versions of Zen Cart released during those years. I can't remember what issues might have existed in your very old version to even guess at whether there's any real bug that might be at play there.
    .

    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
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Incorrect state abbreviation being passed to ???

    Stating the obvious, "Te" is the first two letters of "Texas" ...

  4. #4
    Join Date
    Dec 2010
    Location
    Seattle
    Posts
    83
    Plugin Contributions
    1

    Default Re: Incorrect state abbreviation being passed to ???

    Suspicion:
    It sounds like your zencart is not forcing use of a drop-down-menu for selecting the Ship To State.

    Details:
    Instead of sending TaxCloud a two character abbreviation, such as TX, it is sending TaxCloud a full state name, in this case Texas, which TaxCloud truncates to just the first two characters, TE, which is not a valid state abbreviation.

    Likely Fix:
    1. Login to your Zen Cart backend admin screen;
    2. Browse to Configuration >> Customers Details;
    3. Look for the “State – Always display as pulldown?” and select “true” from there.

    Also : agre with DrByte, time to update your installation of zencart.

  5. #5
    Join Date
    Oct 2011
    Location
    Ohio
    Posts
    28
    Plugin Contributions
    0

    Default Re: Incorrect state abbreviation being passed to ???

    Thanks for the replies. You make good points.

    The upgrade to the latest version of Zen Cart will start shortly which will hopefully resolve this and the couple other issues I have posted recently. At a minimum, I'll be on the current version with all its enhancements.


    Jeff

  6. #6
    Join Date
    Nov 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Incorrect state abbreviation being passed to ???

    I had a similar problem running Zen Cart 1.51 and TaxCloud version: 1.5.2b_for_zc151

    In admin my configuration for Always show State as pulldown is set to true.

    I fixed the issue by writing a code in includes/modules/TaxCloud/func.taxcloud.php to convert the state name to a 2 char code before passing it to TaxCloud.

    I made this change in 12/2013 and the store has functioned fine since then.

    It did make me wonder how TaxCloud without this fix could be working for others - maybe there's something odd with my configuration

 

 

Similar Threads

  1. v151 Replace states name with state abbreviation on admin orders
    By firebug in forum Managing Customers and Orders
    Replies: 8
    Last Post: 27 Nov 2013, 07:41 PM
  2. Replies: 7
    Last Post: 24 Nov 2008, 04:25 AM
  3. Trouble cloning - incorrect values passed to the checkout_payment page
    By bjornenke in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 9 Aug 2008, 04:42 PM
  4. Order confirmation not being passed on.
    By audiografix in forum Managing Customers and Orders
    Replies: 0
    Last Post: 23 Feb 2008, 10:13 AM
  5. PayPal IPN: Incorrect billing info passed over
    By Ked in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 6 Nov 2007, 04:49 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