Trekkan Posted September 10, 2010 Share Posted September 10, 2010 I'm working on a custom import script to pull users from a DB table into WHMCS Overall, this hasn't been an issue and I'm using the API action "addclient" to do this. The problem appears to be that during import, some of the data contains a country code like "ca" for Canada, but we don't have a state value for them. When trying to add the new client, WHMCS throws and error about the missing state value. It's doing this for other countries as well. I understand it want's a state value, but what if there shouldn't be one, or I just don't have it? I'd like to be able to add the client to WHMCS anyway, then I can have the user correct the issue later. Is there anything I can do to disable this validation? I could just assign "bogus" data, but I'd rather not do that. Thank you for your help! 0 Quote Link to comment Share on other sites More sharing options...
Trekkan Posted September 10, 2010 Author Share Posted September 10, 2010 I'm also having issues with phone numbers that don't conform to US syntax, so I need a way to get those entered correctly as well. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.