feat: define recipient-required gift checkout - #508
Open
seungy0 wants to merge 1 commit into
Open
Conversation
seungy0
force-pushed
the
gift-shopping-draft
branch
3 times, most recently
from
June 11, 2026 08:31
78f940b to
d3d227e
Compare
Contributor
|
Hello @seungy0, thanks for your contribution to UCP. This does not seem just a documentation PR as the title would suggest. Seems like you are trying to propose a new extension. This probably would entail a schema change as well. Please add it in the PR so we can move forward with the review. Thanks. |
damaz91
removed request for
a team,
MitkoDeyanovMitev,
jingyli,
pemamian and
westeezy
July 14, 2026 08:25
seungy0
force-pushed
the
gift-shopping-draft
branch
from
July 30, 2026 01:31
7cd9b1b to
7a37de5
Compare
seungy0
force-pushed
the
gift-shopping-draft
branch
from
July 30, 2026 02:18
7a37de5 to
1c903cd
Compare
seungy0
force-pushed
the
gift-shopping-draft
branch
from
July 30, 2026 04:11
1c903cd to
aaaf31a
Compare
seungy0
force-pushed
the
gift-shopping-draft
branch
from
July 30, 2026 10:01
aaaf31a to
3422b32
Compare
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.
Summary
Adds a Checkout-only Gift extension for purchases sent to another person.
A Platform requests this flow with:
{ "gift": { "recipient_required": true } }gift: {}is a no-op.recipient_required: truemeans the Business must have a selected, eligible recipient before it accepts Complete Checkout. It does not define how the recipient is selected or where that UI is shown.The Business keeps the selection as private state bound to the Checkout.
gift.recipientis response-only and contains only a buyer-facing display name:{ "gift": { "recipient_required": true, "recipient": { "display": { "name": "Mom" } } } }This extension does not expose or accept recipient IDs, selection tokens, friend lists, contact data, or addresses.
Flow
continue_url.recipient_required: trueto retain the Gift request. Omitting it clears the Business private recipient selection.gift. The Business revalidates and freezes the selection before creating payment or order effects.Scope
This does not define recipient search, reusable recipient handles, multi-recipient checkout, messages or cards, acceptance, scheduling, or recipient data in Orders or events.