Title: error
Last modified: August 30, 2016

---

# error

 *  Resolved [akifguclu](https://wordpress.org/support/users/akifguclu/)
 * (@akifguclu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/)
 * Hello
 * I get this error when i try to process
 * “Country must be a valid three-character value if specified.”
 * What can be the problem
    thanks akif
 * [https://wordpress.org/plugins/authorizenet-woocommerce-addon/](https://wordpress.org/plugins/authorizenet-woocommerce-addon/)

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/error-664/page/2/?output_format=md) [→](https://wordpress.org/support/topic/error-664/page/2/?output_format=md)

 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6665963)
 * Are you passing shipping country ?
 * it might be because shipping country or billing country not being passed
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6665966)
 * here is what i see on documentation
 * Other EVOSnap Considerations
    International AVS Behavior Transactions are declined
   if the submitted address data does not match. Merchants can override this behavior
   on a per-transaction basis, if permitted by EVOSnap. Merchant accounts are configured
   to either use or not use AVS processing when they are boarded. If the account
   is configured to not use AVS processing, AVS is not performed, even if the data
   is included. If the merchant account is configured to use AVS, every transaction
   must include AVS data, unless the merchant is authorized by EVOSnap to override
   the AVS processing. API Customer code is required. If not present, customer code
   is populated with 0000. Country code must be in ISO format. For example, GBP,
   CHE, AUS. Error Codes  RTC 350 Description—EVOSnap: country must be a valid 
   three-character value if specified. Message—country must be a valid three-character
   value if specified.  RTC 351 Description—EVOSnap: employee ID cannot be more
   than 6 characters in length, 4 for a retail transaction. Message—employee ID 
   must be 1 to %x characters in length.
 *  Thread Starter [akifguclu](https://wordpress.org/support/users/akifguclu/)
 * (@akifguclu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6665972)
 * i am checking it as “same as billing adress”
 * i think authorize.net wants three charactered country but woocommerce sends full
   name of country.
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6665976)
 * In fact the authorize .net merchant account that you have meets following
 * If the merchant account is configured to use AVS, every transaction must
    include
   AVS data,
 * > so we need to send thee character code to Authorize.net that will fix the problem
 *  Thread Starter [akifguclu](https://wordpress.org/support/users/akifguclu/)
 * (@akifguclu)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6666063)
 * how i can send three character code to authorize.net?
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6666069)
 * I am looking into it where to pass those details this case never came before 
   so it’s not implemented on plugin
 * You also need to ask authotize.net support as what parameter should be passed
   to handle 3 chars country code
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-664/#post-6666179)
 * did u asked authorizenet support for what we need to pass as AVS supported data
   to authorize.net
 *  [housey555](https://wordpress.org/support/users/housey555/)
 * (@housey555)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666281)
 * Hi,
 * I’m getting the exact same error. Did you manage to solve this?
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666282)
 * You need to ask authorize.net support how to pass 3 characters country code to
   Gateway
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666283)
 * i did not found any reference on Authorize.Net Documentation on how to send 3
   Chars Country code in AIM authorize.net if anyone can let me know i can fix the
   issue on plugin or where ever needed this is not needed everytime i hope when
   you have AVS ( address verification) enabled it asks for country code so Authorize.
   net should be best way to ask to support as ” In which parameter should i send
   Country Code 3 chars in POST request to gateway ”
 * Thanks
 *  [housey555](https://wordpress.org/support/users/housey555/)
 * (@housey555)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666284)
 * Hi Nazrulhassanmca,
 * I just spoke to authorize.net and they say the country code should be 2 characters.
 * Why I don’t understand is if this plugin is meant for working with woocommerce
   why nobody else apart from the OP has had the problem.
 * Many thanks… would be good to solve this and also could be of benefit to others…
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666285)
 * What do you mean by OP is it optimizepress?
 * i m ready to help but i need to know what( which parameter) is being missed while
   passing to authorize.net now they say 2 chars so what will be a new parameter
   like
 *     ```
       $customer->first_name 	= $wc_order->billing_first_name;
       $customer->last_name 	= $wc_order->billing_last_name;
       $customer->company 		= $wc_order->billing_company;
       $customer->address 		= $wc_order->billing_address_1 .' '. $wc_order->billing_address_2;
       $customer->city 		= $wc_order->billing_city;
       $customer->state 		= $wc_order->billing_state;
       $customer->zip 			= $wc_order->billing_postcode;
       $customer->country 		= $wc_order->billing_country;
       $customer->phone 		= $wc_order->billing_phone;
       ```
   
 * so internally i see $customer->country being passed no idea if a new parameter
   need to be passed
 *  [housey555](https://wordpress.org/support/users/housey555/)
 * (@housey555)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666286)
 * Hi Nazrulhassanmca,
 * I mislead there a bit sorry, by OP I meant the original poster of the thread 
   🙂
 * I’m now thinking it could be to do with using woocommerce and wp-member plugins
   together (as both plugins allow users to register, woocommerce with a drop down
   for country and wp-member is a text box for country). I’m not sure… Perhaps the
   POST data being pulled from the database is causing it?
 *  [housey555](https://wordpress.org/support/users/housey555/)
 * (@housey555)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666287)
 * Yes I think that sounds about right… I’ll send you an email on it. Thanks for
   all your help!
 *  Plugin Author [syednazrulhassan](https://wordpress.org/support/users/nazrulhassanmca/)
 * (@nazrulhassanmca)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/error-664/#post-6666291)
 * It was found to be issue with Payment Processor of Merchant account it was using
   EVOSnap as payment processor that requires country code in 3 Char format like
   USA, IND etc which is not provided by woocommerce So anyone who is using authorize.
   net with Payment Processor EVOSnap has to submit a processor change request to
   authorize.net
 * You can find payment processor name on merchant profile in authorize.net live
   account [http://www.screencast.com/t/O1pW7sSl4](http://www.screencast.com/t/O1pW7sSl4)

Viewing 15 replies - 1 through 15 (of 30 total)

1 [2](https://wordpress.org/support/topic/error-664/page/2/?output_format=md) [→](https://wordpress.org/support/topic/error-664/page/2/?output_format=md)

The topic ‘error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/authorizenet-woocommerce-addon_a2c2e1.
   svg)
 * [Authorize.Net Payment Gateway WooCommerce Addon](https://wordpress.org/plugins/authorizenet-woocommerce-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/authorizenet-woocommerce-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/authorizenet-woocommerce-addon/reviews/)

 * 30 replies
 * 4 participants
 * Last reply from: [paxs](https://wordpress.org/support/users/paxs/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/error-664/page/2/#post-6666341)
 * Status: resolved