Plans in Site Creation: Use domain_name returned from Plan Selection view - #21790
Merged
staskus merged 3 commits intoOct 18, 2023
Merged
Conversation
…reation When users select paid domain, they can still opt-in for a free wordpress.com subdomain in plan selection view. When domain is selected, it is returned through "domain_name" parameter. Use this domain when creating siteURLString instead of the one selected in domain selection view.
Contributor
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21790-ddc1699 | |
| Version | 23.5 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | ddc1699 | |
| App Center Build | WPiOS - One-Offs #7429 |
Contributor
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr21790-ddc1699 | |
| Version | 23.5 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | ddc1699 | |
| App Center Build | jetpack-installable-builds #6458 |
Contributor
|
I compared the changes here to Automattic/wp-calypso#83045 and it looks like it will work 👍 Will review once the Calypso PR is merged. |
6 tasks
…in-name-back-from-calypso
staskus
marked this pull request as ready for review
October 17, 2023 07:17
guarani
approved these changes
Oct 17, 2023
guarani
left a comment
Contributor
There was a problem hiding this comment.
Tested again now that the Calypso changes are deployed and this is working fine 👍
- ✅ Paid domain + Free plan
- ✅ Paid domain + Paid plan
- ✅ Free domain + Free plan
- ✅ Free domain + Paid plan
staskus
deleted the
task/21787-plans-in-site-creation-pass-domain-name-back-from-calypso
branch
October 18, 2023 06:54
staskus
added a commit
that referenced
this pull request
Oct 19, 2023
…ite-creation-pass-domain-name-back-from-calypso Plans in Site Creation: Use domain_name returned from Plan Selection view
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes #21787
When users select a paid domain, they can still opt-in for a free wordpress.com subdomain in the plan selection view.
When a domain is selected, it is returned through
domain_nameparameter.Use this domain when creating siteURLString instead of the one selected in the domain selection view.
To test:
Before testing: Enable Plans in Site Creation feature flag
4 cases need to be tested and confirmed to be working properly:
Regression Notes
The change in
siteURLStringcould potentially break existing functionality. Need to retest all the scenarios to make sure everything works as expected.Updated unit tests
None
PR submission checklist:
RELEASE-NOTES.txtif necessary.UI Changes testing checklist: