Jump to content

Sagepay and US billing state problem


scurrell

Recommended Posts

WHMCS is using the full name for the US state drop-down, but SagePay is failing with the error "The BillingState value is too long."

 

Presumably we need to substitute the full State list for the 2-letter abbreviated states, as required by SagePay?

 

Can anyone quickly point me to where I need to edit this?

Link to comment
Share on other sites

We've noticed this quite a few times recently too where with new customers or existing ones who have updated their card details/addresses. The only solution seems to be to edit their address and change the state field to contain the state code instead of the full name. This definately needs fixing though.

Link to comment
Share on other sites

We're going to look and see if we can tweak it so that the full state names are displayed to customers and then the state codes are then substituted so Sagepay is happy. That would make it a bit more user friendly for the customers.

 

Nice.

 

Be nicer if WHMCS built it in though..... :-)

Link to comment
Share on other sites

  • 2 weeks later...

I don't know if anyone else has discovered this too as I only came across it today when trying to help a US customer pay. When the customer clicks 'Pay Now' on the invoice, it takes them through to the credit card page but is not feeding through the state details so they have to select this from County/Region which puts in the full state name and not the Code. BUT if you get the customer to change the Country to United States Outying Islands, this pulls in the right details and puts the State code in instead.

 

I have fed this back to WHMCS but thought it worth mentioning in here incase it is of use to anyone else.

 

Hopefully there will be a fix soon :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated