Throw an EPP exception when using discount on premium domains (#351)

We should communicate to the users why this command failed, that they
are not allowed to use discounted allocation tokens on premium domains.
Currently it still fails, but we don't yet tell them why.
This commit is contained in:
gbrodman 2019-11-07 15:30:23 -05:00 committed by GitHub
parent 9ba8f2d731
commit b3480fb2eb
4 changed files with 22 additions and 10 deletions

View file

@ -302,6 +302,7 @@ An EPP flow that creates a new domain resource.
* The current registry phase allows registrations only with signed marks.
* The current registry phase does not allow for general registrations.
* Signed marks are only allowed during sunrise.
* An allocation token was provided that is invalid for premium domains.
* 2003
* The provided mark does not match the desired domain label.
* Fees must be explicitly acknowledged when creating domains during the