Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans in Site Creation: Integrate Plan selection into Site Creation flow #19284

Closed
staskus opened this issue Sep 29, 2023 · 1 comment · Fixed by #19304
Closed

Plans in Site Creation: Integrate Plan selection into Site Creation flow #19284

staskus opened this issue Sep 29, 2023 · 1 comment · Fixed by #19304
Assignees
Milestone

Comments

@staskus
Copy link
Contributor

staskus commented Sep 29, 2023

Description

Integrate Plan selection into Site Creation flow

Requirements:

  1. Enable flow: Theme Selection -> Domain Selection -> Plan Selection -> Site Assembly -> Checkout
  2. Use the Plan selection view developed on Calypso Task: Create Plans page for Jetpack App Site Creation Automattic/wp-calypso#82135 and display on a web view: wordpress.com/jetpack-app-plans/
  3. If paid domain is selected, pass paid_domain_name parameter. Example: paid_domain_name=domainname.com
  4. If paid plan is selected, the original URL will redirect with plan_id and plan_slug parameters. Example: wordpress.com/jetpack-app/plans?plan_id=1009&plan_slug=personal_bundle
  5. Add the selected paid plan to the cart (Plans in Site Creation: Create functionality to add domain with a plan to a cart WordPress-iOS#21636) using plan_id
  6. If free plan is selected, the original URL will redirect with plan_slug=free_plan parameter without a plan_id.Example: wordpress.com/jetpack-app/plans?plan_slug=free_plan
  7. Don't include paid domain into the cart if free plan is selected
  8. If paid plan + domain is added to the cart, present Checkout after Site Assembly
@staskus
Copy link
Contributor Author

staskus commented Sep 29, 2023

Use Calypso Live URL (Automattic/wp-calypso#82404 (comment)) instead of wordpress.com/jetpack-app-plans while Automattic/wp-calypso#82135 is in review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants