Implement EPP Allocation Token Extension for domain:renew (#1693)

* Implement EPP Allocation Token Extension for domain:renew

* Add more tests

* Fix AllocationTokenFlowUtilsTest

* Combine loadTokenAndValidateDomain with verifyAllocationTokenIfPresent

* Change to Optional.empty

* Remove unused variable
This commit is contained in:
sarahcaseybot 2022-07-26 10:28:32 -04:00 committed by GitHub
parent badfb29ce1
commit 68f975451e
8 changed files with 481 additions and 83 deletions

View file

@ -489,10 +489,17 @@ comes in at the exact millisecond that the domain would have expired.
* 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.
* The allocation token is invalid.
* 2303
* Resource with this id does not exist.
* 2304
* Resource status prohibits this operation.
* The allocation token is not currently valid.
* 2305
* The allocation token is not valid for this domain.
* The allocation token is not valid for this registrar.
* The allocation token is not valid for this TLD.
* The allocation token was already redeemed.
* 2306
* Periods for domain registrations must be specified in years.
* The requested fees cannot be provided in the requested currency.