Changes proposed in this Pull Request
This is the next step in the new “Use a domain I own” flow.
Once the “Transfer or Connect” pages are complete, we will need to allow the user to purchase the transfer or mapping or to add the mapping without a purchase in cases where the site is already on a paid plan.
Testing instructions
Load the page at /domains/add/use-my-domain/[blog slug]
with an optional query string to specify the domain that will be mapped or transferred: ?initialQuery=[domain name]
When you get to the page that shows the options to transfer or connect, try both options on sites both with and without a paid plan.
When connecting a site with a paid plan, make sure that the domain is connected without going through the purchase step.
When connecting a site without a paid plan, make sure that the mapping is added to the cart and you are redirected to the purchase page.
When selecting transfers, you should be redirected to the transfer pre check page. Make sure you can properly start a transfer.
Screen capture of connecting a domain without going through the purchase flow:
Screen.Recording.2021-08-23.at.12.07.27.PM.mov
Screen capture of connecting a domain by purchasing a mapping:
Screen.Recording.2021-08-23.at.12.05.28.PM.mov
Screen capture of transferring a domain (Yes, domain has been locked and auth code has been changed after recording):
Screen.Recording.2021-08-23.at.2.10.06.PM.mov
For translators.
This is a screenshot including the notice in the top right of the screen with the new translation that is shown once the domain is successfully mapped:
Unfortunately, no screenshots were provided by the developer.