Skip to content

[PAY-11161] Agregar confirm a Checkout Sessions v2 - #117

Merged
mari-hernandez merged 1 commit into
masterfrom
pay-11161-agregar-cambios-en-sdk-de-node
Nov 12, 2026
Merged

mari-hernandez merged 1 commit into
masterfrom
pay-11161-agregar-cambios-en-sdk-de-node

Conversation

@mari-hernandez

Copy link
Copy Markdown
Contributor

Description

Estoy sumando Checkout Fields: el merchant monta los campos de tarjeta de Fintoc en su página y después su backend confirma el cobro. Con esta PR el SDK puede hacer esa confirmación.

  • fintoc.v2.checkoutSessions.confirm(id) llama a POST /v2/checkout_sessions/{id}/confirm sin body y devuelve la Checkout Session, igual que expire.
  • Los errores del endpoint (card_declined, charge_in_progress, no_card_submitted, etc.) llegan como cualquier otro error de la API.
  • Los parámetros nuevos de create (ui_mode: "fields", payment_method_options.card.bins) pasan tal cual, sin cambios en el SDK.
  • Unit tests

Release notes

  • Added fintoc.v2.checkoutSessions.confirm(id) to confirm the card payment of a Checkout Session created with ui_mode: "fields".

Requirements

Mergear recién cuando POST /v2/checkout_sessions/{id}/confirm esté en producción: con el label release:minor el merge publica la versión, y antes de eso el método responde 404.

Additional changes

None.

@mari-hernandez mari-hernandez added the release:minor Publica una versión minor al mergear label Nov 11, 2026
@mari-hernandez

Copy link
Copy Markdown
Contributor Author

fin review

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mari-hernandez
mari-hernandez marked this pull request as ready for review November 12, 2026 12:18

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mari-hernandez
mari-hernandez merged commit 677a903 into master Nov 12, 2026
6 checks passed
@mari-hernandez
mari-hernandez deleted the pay-11161-agregar-cambios-en-sdk-de-node branch November 12, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:minor Publica una versión minor al mergear risk:low size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant