Title: Malformed BillingState
Last modified: August 21, 2016

---

# Malformed BillingState

 *  [iamthor](https://wordpress.org/support/users/iamthor/)
 * (@iamthor)
 * [13 years ago](https://wordpress.org/support/topic/malformed-billingstate/)
 * I’m using the SagePay direct plugin and whenever someone from the US fills in
   a form they get:
 * Transaction Failed. MALFORMED – 3147 : The BillingState field is required.
 * The billing state field is there, however.
 * [http://wordpress.org/extend/plugins/sagepay-direct-for-woocommerce-payment-gateway/](http://wordpress.org/extend/plugins/sagepay-direct-for-woocommerce-payment-gateway/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [13 years ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937351)
 * I’m unable to reproduce this problem. Would it be possible to use the sagepay
   test server and setup debug to capture the information being sent?
 * thanks
 * Steve
 *  Thread Starter [iamthor](https://wordpress.org/support/users/iamthor/)
 * (@iamthor)
 * [13 years ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937387)
 * Hi Steve,
 * The current problem is on a live site. So I can’t really be making lots of changes.
   
   Can you do it without shutting down the site or causing on-page errors?
 * Thanks
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937410)
 * Hi
    Can you not reproduce this on a test site?
 * I know for US we have to send a state – do you know what state or is this happening
   on all?
 * Can you let me know what versions of woocommerce, sagepay direct and wordpress
   you are using?
 * regards
 * Steve
 *  Thread Starter [iamthor](https://wordpress.org/support/users/iamthor/)
 * (@iamthor)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937413)
 * The plugins did need updating, and I’ve updated them now.
 * I’ve had a look at the code myself and I’ve made a few changes, I’m going to 
   see if they work. If not, I will create a test site and give you the details.
 * it’s tedious as I have little access myself – I need to wait for them to test
   it and confirm if it works or not.
 * Cheers!
 *  Thread Starter [iamthor](https://wordpress.org/support/users/iamthor/)
 * (@iamthor)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937437)
 * Hi Steve,
 * My changes did not work. Can I give you access and you take a look?
    Do you have
   email and I’ll email you the details.
 * Thanks!
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937440)
 * Hi
 * No problem – support(at)devicesoftware.com
 * regards
 * Steve

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Malformed BillingState’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sagepay-direct-for-woocommerce-payment-
   gateway_8284e5.svg)
 * [WooCommerce SagePay Direct Payment Gateway](https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [swicks](https://wordpress.org/support/users/swicks/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/malformed-billingstate/#post-3937440)
 * Status: not resolved