A Sales Order for a Domain Registration via OpenSRS PHP plugin fails, the following error can be seen in pa-domain-sdk.log:
[Thu Feb 12 11:31:23 2018] [pid 17858] AH01215: PHP Warning: oSRS Error - state is not defined. in /var/www/pa-domain-sdk/OpenSRS/core/opensrs/domains/provisioning/provSWregister.php on line 81 [Thu Feb 12 11:31:23 2018] [pid 17858] AH01215: PHP Warning: oSRS Error - Incorrect call. in /var/www/pa-domain-sdk/OpenSRS/core/opensrs/domains/provisioning/provSWregister.php on line 66
However a country the Customer Account is assigned with is not supposed to have a mandatory specified State.
The issue is caused by #POA-114654 "PHP OpenSRS requires state for all countries"
Please contact your Technical Account Manager or a member of Pooled Technical Associates Team to clarify status of the software-related issue.
As a workaround a State can be created for the Customers country in Home > System > Settings > Internationalization > Countries and the Account can be assigned with it.