Registrar portal renew
In Registrar portal if you want to renew domain, you have to fill out field curExpDate, that field should be autofilled with domains current expdate.
Or other option would be to hide that field from user and fetch that data in background.
Why is it needed at all?
Its used in EPP, i think thats why it was added to ui, but from user perspective there is no good reason to have it there, just have to make sure that expdate is passed to EPP
if this is done we need to add confirmation box to avoid unwanted double renew.
@vohmar you would need to load the page and then press the renew again, just "doubleclicking" wouldnot result in double renew, but we can give it a try maybe there is something more do it.
the reason for requiring the exp date is to avoid unwanted renewals (in the web the scenarios would be refresh page, pressing back/forward, double clicking etc) - one cannot make the same request twice as exp date is updated in between the requests and the second query will fail because of this. So if we would rid user from having to pass correct exp date we would need to request confirmation by for example popup dialogue that would include the information of at least the new exp date that would be in effect in case of successful renew request.