-
-
Notifications
You must be signed in to change notification settings - Fork 75
t524: feat(checkout): add simple checkout form template with auto-generated credentials #746
Copy link
Copy link
Closed
Labels
auto-dispatchenhancementNew feature or requestNew feature or requestorigin:workerstatus:in-progressWork is in progressWork is in progress
Description
Task ID: t524 | Status: open | Estimate: ~4h
Logged: 2026-04-03
Tags: enhancement auto-dispatch
Description
Re-implement the simple checkout form preset (originally in PR #740, closed due to merge conflicts with main).
What
Add a simple checkout form template where customers only enter their email address — username, password, site title, and site URL are all auto-generated server-side.
Why
PR #740 implemented this feature but was closed due to merge conflicts. The feature is valuable for reducing checkout friction. The branch feature/simple-checkout still exists and can be used as reference.
How
Reference PR #740 for the implementation approach:
inc/checkout/signup-fields/class-signup-field-password.php— addauto_generate_passwordtoggleinc/checkout/class-checkout.php— resolve password viawp_generate_password(16)when auto-generate is set; strip password validation rulesinc/models/class-checkout-form.php— addsimpleto template enum anduse_template()inc/apis/schemas/checkout-form-create.php+checkout-form-update.php— addsimpleto template field enum- Add unit tests for the new template and auto-generate behavior
Acceptance Criteria
-
simpletemplate available in checkout form presets - Customer only needs to enter email address on simple checkout
- Username, password, site title, site URL auto-generated server-side
- Client-side JS validation does not block submission when auto-generate is enabled
- All existing tests pass; new tests cover the auto-generate path
- No merge conflicts with current main
Reference
- Original PR: feat: add simple checkout form template with auto-generated credentials #740 (closed due to merge conflicts)
- Branch:
feature/simple-checkout(still exists, use as reference only — do NOT reopen)
aidevops.sh v3.5.906 plugin for OpenCode v1.3.0 with claude-sonnet-4-6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
auto-dispatchenhancementNew feature or requestNew feature or requestorigin:workerstatus:in-progressWork is in progressWork is in progress