I have an integrated CIM in PHP. I have customers from Austrailia trying to setup an account, but they are getting an error about the state code.
[0] => setParameter(): billTo_state must be a valid two-character state code
Even if they leave it blank, this error is returned. I have B, E, R checked and G, U, S unchecked. I understood that the ST was optional, and if not filled would be ignored, especially in international cases. Any thoughts about how to set this as optional, or the correct way to handle working with the parameter to allow for international customers?
TIA!
My PHP:
if (isset($_GET['st'])) { $cim->setParameter('billTo_state', $_GET['st']); // A valid two-character state code (US only) (optional) }
07-14-2015 10:29 AM
Hello @toddmfletcher
Was your sandbox account created for Australian Dollars (AUD) or the default US Dollars (USD)?
Richard
07-14-2015 01:26 PM
It has been awhile since we went live, however I do believe our account would have been setup with USD, 95% of our business is domestic.
07-14-2015 06:38 PM
That doesn't look like an error from authorize.net, you sure it is not on your site.
billTo_state is not a field for CIM
07-14-2015 07:27 PM - edited 07-14-2015 07:32 PM