feat: add com.mercadopago.payment.display extension#635
Draft
gforgab wants to merge 1 commit into
Draft
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Add a vendor-namespaced Checkout extension that models in-session, out-of-band payment methods (e.g. Pix) as a pure-render Action on top of the generic `actions` primitive. The Business surfaces an inert display artifact (QR image, copy-and-paste code, hosted instructions) that the Platform renders; the same Complete Checkout operation resolves by polling Get Checkout, with no redirect or continue_url handoff. - source/schemas/shopping/payment_display.json: extension schema (config, action instance, checkout extension); no `required` field — gating is expressed via a recoverable Message with a path. - docs/specification/payment-display.md: spec with discovery, schema, render/trust contract, and resolution flow. - mkdocs.yml: nav entry under Checkout Capability + llmstxt section. - .cspell/custom-words.txt: domain terms (Pix, boleto, Mercado Pago).
gforgab
force-pushed
the
gforgab/payment-display-extension
branch
from
July 24, 2026 22:40
daf3963 to
6ace89e
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.
What
Adds
com.mercadopago.payment.display, a vendor-namespaced Checkoutextension that models in-session, out-of-band payment methods (e.g.
Pix) as a pure-render Action on top of the generic
actionsprimitiveintroduced in #582.
When the buyer picks such a method, the Business surfaces an inert display
artifact (QR image, copy-and-paste code, and/or hosted instructions) as an
outstanding Action on the checkout. The Platform renders it, the buyer pays in
their bank app, and the same Complete Checkout operation resolves by polling
Get Checkout — no redirect, no
continue_url.Why this shape
actionsprimitive (feat: extension-defined Actions primitive #582). Instance is{ id, config? }; norequiredfield — gating is expressed via arecoverableerror Message whosepathpoints at the action occurrence,per the outcome of the [RFC] Proposal: Modeling 3DS and Step-Up Actions in UCP #517 discussion.
[RFC] Proposal: Modeling 3DS and Step-Up Actions in UCP #517 to keep core small and let independent, community-driven implementations
land first. Namespace derives from the handler domain (
com.mercadopago.*,matching
com.mercadopago.checkout).PAN/OTP/credentials),
imageis inert,codeis display text, andinstructions_urlis the only loadable field (https origin allowlist).Scope
settle after the session ends (boleto, cash vouchers) are out of scope and
will be proposed separately at the order level (async-payments EP).
Changes
source/schemas/shopping/payment_display.json— extension schema.docs/specification/payment-display.md— spec (discovery, schema,render/trust contract, resolution flow).
mkdocs.yml— nav under Checkout Capability + llmstxt entry..cspell/custom-words.txt— domain terms.Related
actionsprimitive).Opening as draft for early feedback on the extension shape and the
render/trust contract wording before finalizing.