Vnext-81889 | | Name fields for in-person Pickup#1409
Vnext-81889 | | Name fields for in-person Pickup#1409pagrawal1-godaddy wants to merge 6 commits into
Conversation
🦋 Changeset detectedLatest commit: 813c2b0 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The default checkout session starts on shipping, so pickup name inputs only render after choosing local pickup. Co-authored-by: Cursor <cursoragent@cursor.com>
wcole1-godaddy
left a comment
There was a problem hiding this comment.
Requesting changes for three reproduced pickup regressions and failing local quality gates.
- Editing required pickup names can clear an existing paid-order billing address.
- Immediate confirmation can occur before the debounced name update reaches the draft order.
- Paid card/ACH pickup renders duplicate billing-name controls.
- The package typecheck fails, and
biome check ./srcreports six errors in changed files.
The existing 447 React tests and GitHub CICD/CodeQL checks pass, so please add regressions for address preservation, a single rendered name field, and immediate-submit persistence. Since this is an OSS package, please also complete the PR Summary and Test Plan with consumer-facing context.
|
Hi Wes
Regressions / tests added
Quality gates
|
Co-authored-by: Cursor <cursoragent@cursor.com>
wcole1-godaddy
left a comment
There was a problem hiding this comment.
Requesting changes for the Stripe express-checkout timeout risk. The changed-file Biome check also still has one formatting failure.
Defer pickup name draft sync until confirm so click resolve stays within Stripe's 1s deadline, and format requireBillingNamesOnly for Biome. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed in 813c2b0:
|
Summary
https://godaddy-corp.atlassian.net/browse/VNEXT-81889
Bruce in-person pickup checkout collected email but not customer first/last name, so completed orders often had blank names on order.billing. That broke merchant-facing Customer Info, C1, and new-order notifications.
This change:
Package: @godaddy/react
Changeset
Added
.changeset/pickup-customer-names.md— patch for@godaddy/react:Require customer first and last name for in-person pickup orders. Names are collected in the Pickup section, synced to order billing, and validated for card, offline, free, and express checkout paths.
Test Plan
Unit tests
syncs only billing names in onlyNames mode without clearing billing addresskeeps a single set of name fields for paid pickup with credit-card billingpersists pickup billing names before free-order confirmation without waiting for debouncecheckout-address,checkout-draft-order-sync,checkout-form-validation,checkout-free-payment-form,checkout-pickup,sync-pickup-billing-names)Manual / consumer checks (bruce-storefront after package publish)