I’ve fixed the issue. It was a problem with my WHMCS installation.
If you have a similar problem, check the category your product is in, and change your order form.
more details, you can start here
And when you select existing domain, put in any random fake domain name, and click continue it issues a 404. Just to restate on how to reproduce the error.