Check PAK is present on billing domain flows (#1605)

* Check PAK on domain create

* Add unit test

* update docs

* Remove unneccesary setup

* Fix blank line

* Add check and test to all relevant flows

* Change error message
This commit is contained in:
sarahcaseybot 2022-04-29 14:30:24 -04:00 committed by GitHub
parent e1d36bd728
commit cea132f536
14 changed files with 184 additions and 0 deletions

View file

@ -269,6 +269,7 @@ information.
* Domain name must have exactly one part above the TLD.
* Domain name must not equal an existing multi-part TLD.
* 2201
* Registrar is missing the billing account map for this currency type.
* Registrar is not authorized to access this TLD.
* 2306
* Too many resource checks requested in one check command.
@ -304,6 +305,7 @@ An EPP flow that checks whether domain labels are trademarked.
* 2004
* Domain name is under tld which doesn't exist.
* 2201
* Registrar is missing the billing account map for this currency type.
* Registrar is not authorized to access this TLD.
* 2304
* The claims period for this TLD has ended.
@ -361,6 +363,7 @@ An EPP flow that creates a new domain resource.
* The allocation token is invalid.
* Only a tool can pass a metadata extension.
* Registrar is not authorized to access this TLD.
* Registrar is missing the billing account map for this currency type.
* Registrar must be active in order to perform this operation.
* 2302
* Resource with this id already exists.
@ -501,6 +504,7 @@ comes in at the exact millisecond that the domain would have expired.
server policy.
* 2201
* The specified resource belongs to another client.
* Registrar is missing the billing account map for this currency type.
* Registrar is not authorized to access this TLD.
* Registrar must be active in order to perform this operation.
* 2303
@ -561,6 +565,7 @@ regardless of what the original expiration time was.
* Specified extension is not implemented.
* 2201
* The specified resource belongs to another client.
* Registrar is missing the billing account map for this currency type.
* Registrar is not authorized to access this TLD.
* Registrar must be active in order to perform this operation.
* 2303
@ -736,6 +741,7 @@ new ones with the correct approval time).
server policy.
* 2201
* Authorization info is required to request a transfer.
* Registrar is missing the billing account map for this currency type.
* Registrar is not authorized to access this TLD.
* Registrar must be active in order to perform this operation.
* 2202