plesk / whmcs-plugin

Other
16 stars 33 forks source link

Plesk Account Fails to Create With US Zip Longer Than 5 Digits #46

Closed a2mrather closed 5 years ago

a2mrather commented 5 years ago

When a user creates an account through WHMCS, user data is accepted with a US post code that is similar to 900101 or 90010-1122. When the US post code is passed over to the Plesk module the account fails to create. Is there a way to disable Plesk's profile validation?

vbaranovskiy-plesk commented 5 years ago

I'm really sorry for the Late Reply.

There is no way to skip Plesk's zip code validation. The validation rules for US postal codes are following:

I've checked this cases and they both works correctly. I've noticed that "900101" code mentioned by you is not valid, but the second code works perfectly.

Please, check a postal code's value in the API-RPC request () in Module log in WHMCS. May be there something wrong with it.