# VTEX Plugin Changelog

import { ChangelogBadge } from '/snippets/ChangelogBadge.jsx';

## v4.2.353
*September 1, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Samsung Pay express payments never reached authorization**  
  Samsung Pay payments started from the express checkout buttons were rejected before the store order was placed: the shopper authorized the payment on the Samsung Pay sheet, but no order was ever created. Samsung Pay now completes through the same flow as Apple Pay, Google Pay and Click to Pay, and the connector accepts the different spellings VTEX uses to register the payment method.

- <ChangelogBadge type="fixed" /> **Digital wallet payments could fail for guest shoppers due to masked buyer data**  
  For shoppers who were not logged in, VTEX masks profile data in the browser, and wallet payments (Apple Pay, Google Pay, Samsung Pay, Click to Pay) could be sent to WHITELABEL with a masked document number and get rejected. The connector now builds the payer from the order's unmasked buyer information, so guest wallet payments go through with the correct identity.

- <ChangelogBadge type="fixed" /> **Payments could be rejected when the sales policy had no name**  
  When the VTEX trade policy associated with an order had no name configured, the payment could be rejected by WHITELABEL. Orders from nameless trade policies are now processed normally.

## v4.2.350
*August 26, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Corporate buyer identity for Brazilian company purchases**  
  New "Use Corporate Buyer Data" affiliation setting (default: No). When enabled and the shopper checks out as a company in Brazil, cards, boleto, PIX and the other checkout methods are issued against the company name and CNPJ that VTEX sends instead of the shopper's personal name and CPF, as Brazilian rules require for corporate purchases. Enable it on the affiliation and no storefront change is needed. Digital wallets whose payment is created before the order is placed (Apple Pay, Google Pay, Click to Pay via preflight) keep the identity collected by the storefront.  
  *Migration:* In VTEX Admin go to Payments > Settings > Affiliations, open the WHITELABEL affiliation, set "Use Corporate Buyer Data" to Yes and save. The field only appears after the store is on version 4.2.350 or later.

## v4.2.349
*August 26, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Marketplace seller and affiliate identity in payment metadata**  
  Every payment now carries the VTEX seller id (`seller_id`) and, for stores selling through a VTEX marketplace in affiliate mode, the affiliate code (`affiliate_id`), so transactions can be attributed to the right seller in WHITELABEL reporting and routing rules. Stores that do not sell through a marketplace report `NA` for the affiliate code and nothing else changes.

## v4.2.348
*August 25, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Network Tokens on 3DS and antifraud-held cards**  
  Cards whose first purchase was approved only after a 3DS challenge or an antifraud review were never registered for Network Token reuse, so every later purchase with the same card kept going through as a raw card. The connector now records the card on the authorization retry that confirms the approval.

## v4.2.347
*August 24, 2026*

**Payments**

- <ChangelogBadge type="changed" /> **Additional charges on modified orders require the Vault Card for Order Modification field**  
  When Enable Network Tokens is on, every card is stored, so an order whose total increased could receive an additional charge even if Vault Card for Order Modification was set to No. That field is now the only switch for additional charges: with it off, an order-total increase is declined instead of charged, and enabling Network Tokens no longer implies consent to charge customers more.

## v4.2.346
*August 21, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Cancellations of a card payment that was never completed are approved**  
  When an order paid with two cards is cancelled because one card is declined, the other card's payment may have an open checkout session but no payment behind it. The connector answered VTEX's cancellation of that payment with a "payment not found" error, so after three attempts VTEX emailed the store asking for a manual cancellation of a payment that never charged anything. The connector now recognizes this case and confirms the cancellation, as it already did for payments that never reached WHITELABEL at all.

## v4.2.345
*August 20, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Network Token support for card payments**  
  A new "Enable Network Tokens" setting on the affiliation lets the connector securely store each card on its first purchase and recognize it on later purchases by the same customer, so WHITELABEL can process repeat purchases with a network token instead of the card number. Network tokens significantly improve approval rates for returning shoppers. The feature covers all card payments, including fraud-defense, multi-seller split orders and setups where the payment is completed from a different VTEX account than the one that authorized it. If the stored reference is unavailable for any reason the payment proceeds exactly as today, so checkout is never affected. Stores that keep the default setting are unaffected.  
  *Migration:* To enable it, open the WHITELABEL affiliation in the VTEX admin and set both "Enable Network Tokens" and "Create Customer" to Yes; then confirm with WHITELABEL that network tokens are enabled on the routes used by the store. In franchise or multi-store setups, apply the settings on every store's affiliation. No storefront changes are required.

## v4.2.344
*August 19, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Installment count reported correctly on digital wallet payments**  
  Apple Pay and Google Pay payments created through the pre-created session flow reported a single installment in the payment's informational metadata even when the shopper selected more. The amount actually charged and the installments sent to the payment provider were always correct; the reported value now matches them, so dashboards and reconciliation no longer show a misleading count.

## v4.2.343
*August 12, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Support for stores on VTEX Legacy checkout**  
  Stores still running VTEX's Legacy checkout, where the embedded payment form cannot be shown, can now process payments through WHITELABEL. A new "Payment Mode" setting on the affiliation switches those stores to a redirect flow in which the shopper completes the payment on a WHITELABEL-hosted checkout page and is then returned to the store. Cards, Pix, boleto, digital wallets and the alternative methods already supported all work through it, and order status, settlement, cancellation and refunds behave exactly as they do today. Stores keep the default setting and are unaffected.

## v4.2.339
*August 6, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Orders paid with two cards are identified in WHITELABEL**  
  Payments belonging to an order the shopper split across two cards now carry a `two_card_payment` flag, so routing rules and reports can treat them differently from a payment that covers the full cart on its own. Both cards of the order are flagged, and every other payment reports `false`.

- <ChangelogBadge type="fixed" /> **Acquirer reported on declined and pending payments**  
  The acquirer that processed a payment is now returned on declined and pending authorizations, not only on approved ones. Merchants can see which acquirer handled a decline directly in the order's payment data, so declines can be reconciled and troubleshooted without opening a support request. Payments that never reached an acquirer keep the field empty, as before.

## v4.2.338
*August 6, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Apple Pay installments resolved by the connector**  
  A new endpoint retrieves the installment options that apply to a checkout session, with eligibility and per-installment amounts computed by WHITELABEL. Each option is returned with display-ready, localized texts (English, Spanish, and Portuguese), including formatted amounts and any financial cost details, so storefronts render them without additional formatting. If the lookup fails for any reason, the response is an empty list so the payment always proceeds, at most without installment options.

## v4.2.337
*August 5, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Automatic cancellation of unpaid orders**  
  When an order is cancelled after the shopper never completed the payment, the cancellation is now confirmed instead of reported as failed. Merchants no longer receive requests to cancel or refund payments that never charged anything, and the orders close on their own. Cancellations of payments that do hold funds are unchanged, and one that cannot be voided or refunded is still reported so it can be handled manually.

## v4.2.336
*August 4, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Split orders charged in a single payment**  
  When a cart is split across sellers or delivery groups but the payment is authorized once for the full amount, the order is now processed through the standard payment flow. Digital wallet payments such as Apple Pay prepared at checkout are completed instead of being requested again and left unpaid until the order expires. Split orders whose suborders are authorized separately keep working exactly as before.

## v4.2.335
*July 29, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Samsung Pay support**  
  Shoppers can now pay with Samsung Pay at checkout, alongside the existing digital wallets. The connector routes Samsung Pay authorizations to the wallet flow so the payment app can render the Samsung Pay button and complete the payment through WHITELABEL.

## v4.2.333
*July 27, 2026*

**Payments**

- <ChangelogBadge type="added" /> **Per-storefront seller website in payment metadata**  
  Payments now report the storefront the order actually came from instead of the store's default host, improving reporting and reconciliation for merchants running multiple storefronts on one account. A new "Sales Channel Domains" affiliation setting optionally maps each sales channel to its public domain (for example `2:b2b.example.com;18:members.example.com`); unmapped channels fall back to the order's storefront host, and stores without the setting keep working with no configuration changes.

- <ChangelogBadge type="added" /> **VTEX order sequence as processor transaction reference**  
  A new affiliation setting, Send Order Sequence as Merchant Reference, makes payments carry the VTEX order sequence as the merchant reference, so payment providers configured with a custom transaction identification (such as Mercado Pago) receive the sequence as the external reference shown in their panel, matching pre-migration VTEX behavior. The setting is off by default; when it is disabled or the sequence is unavailable the reference falls back to the VTEX Order ID, and connections without the custom identification option are unaffected.

## v4.2.331
*July 22, 2026*

**Order Modifications**

- <ChangelogBadge type="added" /> **Additional charges for modified orders**  
  When an order's total increases after checkout — VTEX order modifications, such as items sold by weight — the connector now charges the difference automatically using the card saved on the original order, with the shopper absent and no security code. Enable it per affiliation with the new "Vault Card for Order Modification" setting (requires "Create Customer" to also be enabled); orders and affiliations without it are unaffected.

## v4.2.324
*July 14, 2026*

**Subscriptions**

- <ChangelogBadge type="fixed" /> **Recurring subscription charges are now linked to the original authorization**  
  The connector securely stores a card reference after the first successful subscription charge and reuses it on every recurring charge, so the network transaction id of the original authorization reaches the issuer and merchant-initiated charges are approved at a significantly higher rate.

## v4.2.323
*July 14, 2026*

**Payments**

- <ChangelogBadge type="fixed" /> **Subscription cards are now saved for recurring charges**  
  On the first charge of a VTEX subscription order, the connector now requests secure storage of the card on successful payment, so subsequent recurring charges can reuse the stored card instead of failing for lack of a saved payment method.

## v4.2.307
*June 11, 2026*

- <ChangelogBadge type="added" /> **VTEX subscription (recurring) order support**  
  Adds support for orders created with VTEX subscriptions. The first charge keeps the security code as today, while subsequent recurring charges are authorized without a security code and flagged to the gateway as stored-credential transactions, so automatic renewals no longer fail. Regular checkout is unchanged.

## v4.2.304
*May 28, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **CIELO_CYBERSOURCE_FRAUD antifraud provider for split orders**  
  Adds CIELO_CYBERSOURCE_FRAUD as an accepted value in the Antifraud Providers for Split Orders setting, alongside RISKIFIED, CYBERSOURCE, and SIGNIFYD.

## v4.2.302
*May 26, 2026*

- <ChangelogBadge type="added" /> **Split-order payment support**  
  Adds payment support for VTEX orders that get split into multiple suborders (carts combining products from different sellers or franchises). Each suborder now settles at the gateway with a shared antifraud session, instead of only the first one being paid.

**Configuration**

- <ChangelogBadge type="added" /> **Antifraud providers for split orders setting**  
  Adds a configuration field so merchants can choose which antifraud providers (RISKIFIED, CYBERSOURCE, SIGNIFYD) receive the shared session. Defaults to RISKIFIED + CYBERSOURCE when left empty.

## v4.2.301
*May 20, 2026*

**Observability**

- <ChangelogBadge type="changed" /> **Less noise in error monitoring for expected outcomes**  
  Expected outcomes (cancellation denials, callback retries) are now recorded at debug level instead of as errors. Internal observability change — no impact on merchant-facing flows.

## v4.2.300
*May 13, 2026*

**Performance & Latency**

- <ChangelogBadge type="added" /> **Optimize authorize hot path**  
  Reduces authorization latency by parallelizing previously sequential calls, coalescing duplicate in-flight requests, and tightening the data flow around preflight, persistence, and WHITELABEL API calls. Functional behaviour is preserved end-to-end.

## v4.2.299
*May 11, 2026*

**Apple Pay**

- <ChangelogBadge type="added" /> **Installments-plan endpoint**  
  Exposes a new endpoint that returns the configured installments plan for an affiliation, used by Apple Pay and Google Pay to render the correct installment options at checkout.

## v4.2.298
*April 27, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Choose WHITELABEL vs provider transaction ID**  
  Adds a Transaction Identification From setting so merchants can choose whether the WHITELABEL TID (default) or the underlying provider TID is returned to VTEX.

## v4.2.297
*April 15, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Transaction Identification From custom field**  
  Adds a Transaction Identification From option in the VTEX Admin so merchants can pick between the WHITELABEL TID and the underlying provider TID for the transaction reference.

## v4.2.296
*April 14, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Re-add Payment Mode field to configuration**  
  Restores the Payment Mode configuration with the same two options as before: Payment App (default) and Redirect (legacy).

## v4.2.295
*April 12, 2026*

**Configuration**

- <ChangelogBadge type="fixed" /> **Remove Payment Mode setting (later restored)**  
  Temporarily removes the Payment Mode configuration field. The setting is restored in the following release.

## v4.2.294
*April 10, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Payment Mode setting for legacy redirect**  
  Adds a Payment Mode configuration so merchants can choose between the default Payment App flow and the legacy redirect flow.

## v4.2.293
*April 10, 2026*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Upgrade diff and cookie to patch CVE-2026-24001 and CVE-2024-47764**  
  Patches two reported third-party vulnerabilities: a denial-of-service in the diff library and a cookie attribute injection in cookie.

## v4.2.292
*April 6, 2026*

- <ChangelogBadge type="fixed" /> **Recognize VTEX IO transient errors**  
  Treats common transient infrastructure errors (timeouts, dropped connections, refused connections) as recoverable so the authorization stays pending instead of failing immediately.

## v4.2.290
*March 31, 2026*

**Apple Pay**

- <ChangelogBadge type="added" /> **Preflight payments for Apple Pay and Google Pay**  
  Adds pre-created checkout sessions for Apple Pay and Google Pay so the wallet sheet can be opened immediately when the buyer clicks pay.

## v4.2.288
*March 26, 2026*

**Multi-Account**

- <ChangelogBadge type="fixed" /> **Route franchise sub-account payments to the correct account**  
  On franchise sub-accounts the connector now routes the payment using the order's merchant identifier instead of the parent account hostname, so payments reach the correct sub-account.

## v4.2.287
*March 18, 2026*

**Reliability**

- <ChangelogBadge type="added" /> **Retry-payment-validation endpoint**  
  Adds an endpoint that resolves "phantom" orders by retrying the payment validation, restoring the simple fire-and-forget callback behaviour.

## v4.2.286
*March 17, 2026*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Patch qs vulnerability (CVE-2026-2391)**  
  Patches a reported vulnerability in the qs query-string dependency.

## v4.2.285
*March 12, 2026*

- <ChangelogBadge type="added" /> **External-button action for WHITELABEL SDK v1.5**  
  Adds an external-button action option that targets WHITELABEL SDK v1.5, used for payment methods that render their own UI outside the SDK.

## v4.2.284
*March 10, 2026*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Pin minimatch and koa**  
  Locks minimatch and koa to patched versions to close reported regular-expression and request-handling vulnerabilities.

## v4.2.283
*March 4, 2026*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Pin qs to 6.14.2**  
  Locks qs to the patched version across both root and node workspaces to close a reported vulnerability.

## v4.2.282
*February 27, 2026*

**Customer & Address**

- <ChangelogBadge type="fixed" /> **Customer payer city for Chile**  
  Reads the city from the neighborhood field for Chilean orders, where VTEX populates the city there, so payments are no longer declined for missing city data.

## v4.2.281
*February 25, 2026*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Upgrade vulnerable dependencies**  
  Bulk upgrade addressing several reported third-party dependency vulnerabilities.

**Pagaleve**

- <ChangelogBadge type="fixed" /> **OTT metadata headers and Pagaleve close-button toggle**  
  Sends OTT metadata headers to the secure-proxy and adds a toggle for the Pagaleve Transparente checkout to hide the VTEX close button.

## v4.2.280
*February 23, 2026*

**Configuration**

- <ChangelogBadge type="added" /> **Order placed page URL setting**  
  Adds a configuration option for the VTEX order-placed page URL and forwards it through the pending-authorization flow.

**Dependency Updates**

- <ChangelogBadge type="security" /> **Patch js-yaml vulnerability**  
  Forces js-yaml to a patched version to close CVE-2024-4068.

## v4.2.277
*January 14, 2026*

**Performance & Latency**

- <ChangelogBadge type="added" /> **Per-client caching for VTEX APIs**  
  Adds in-memory caches across VTEX clients (Account, Affiliations, Catalog, Master Data) to cut redundant API calls and reduce checkout latency.

## v4.2.273
*January 7, 2026*

**Tax IDs**

- <ChangelogBadge type="fixed" /> **Per-merchant tax ID mapping**  
  Adds merchant-aware tax ID (CNPJ) mapping so each payment is tagged with the correct ID and merchant metadata for downstream reconciliation.

## v4.2.272
*January 6, 2026*

**Tax IDs**

- <ChangelogBadge type="added" /> **Add default CNPJ for testing**  
  Provides a default merchant tax ID (CNPJ) when the configured affiliation has none, so testing flows can run without manual setup.

## v4.2.271
*January 5, 2026*

**Pagaleve**

- <ChangelogBadge type="added" /> **Update Pagaleve parcelado integration tag**  
  Updates the configuration tag for Pagaleve installment-Pix so the connector targets the latest provider integration.

## v4.2.267
*December 24, 2025*

**Payment Metadata**

- <ChangelogBadge type="added" /> **Map VTEX fields to Cybersource MDD metadata**  
  Maps additional VTEX order fields into WHITELABEL metadata so Cybersource MDD (Merchant Defined Data) rules can use them for fraud screening.

## v4.2.266
*December 24, 2025*

**Pagaleve**

- <ChangelogBadge type="added" /> **Pagaleve Transparente for Pix parcelado**  
  Adds Pagaleve Transparente as a supported method for both Pix and installment-Pix flows.

## v4.2.264
*December 24, 2025*

**Click to Pay**

- <ChangelogBadge type="added" /> **Hide installments for Click to Pay**  
  Hides the installments option when the buyer is paying with Click to Pay, where instalments are not supported by the upstream networks.

## v4.2.263
*December 15, 2025*

**Cancellation Flow**

- <ChangelogBadge type="fixed" /> **Validate transactions before cancel**  
  Validates that VTEX transactions exist on the order before triggering the cancellation flow, preventing spurious failures.

## v4.2.262
*December 12, 2025*

**PicPay**

- <ChangelogBadge type="fixed" /> **Restore PicPay support**  
  Restores PicPay as a supported payment method after it was unintentionally removed.

## v4.2.260
*December 11, 2025*

- <ChangelogBadge type="added" /> **Group-order handling**  
  Treats VTEX order groups as a single payment, avoiding partial-payment artifacts when several orders are placed together.

**Apple Pay**

- <ChangelogBadge type="added" /> **Apple Pay installment plans**  
  Adds installment-plan support for Apple Pay so the merchant's configured installment options appear in the Apple Pay sheet.

## v4.2.258
*December 9, 2025*

**Mercado Pago**

- <ChangelogBadge type="added" /> **Add Mercado Pago Checkout Pro**  
  Adds Mercado Pago Checkout Pro as a redirect-style payment method. Existing Monnet and PicPay redirect flows are unified onto the same shared flow and forward additional payment metadata, including the merchant domain.

## v4.2.252
*November 27, 2025*

**Card Payments**

- <ChangelogBadge type="added" /> **Defense-mode fallback for delayed card payments**  
  Falls back to direct card processing (defense mode) when the standard flow is delayed by fraud screening, completing the payment without losing the order.

## v4.2.251
*November 20, 2025*

**Mercado Pago**

- <ChangelogBadge type="added" /> **Mercado Pago Checkout Pro**  
  Adds Mercado Pago Checkout Pro as a supported redirect-style payment method.

## v4.2.250
*November 19, 2025*

**Card Payments**

- <ChangelogBadge type="fixed" /> **Show status page when a Gift Card is present**  
  Renders the standard status page when the order includes a gift-card payment, preventing the connector from short-circuiting the flow.

## v4.2.248
*November 12, 2025*

**Configuration**

- <ChangelogBadge type="added" /> **Create-customer toggle**  
  Adds an optional Create Customer setting so the connector can register the buyer in WHITELABEL's customer registry before the first payment.

## v4.2.247
*November 11, 2025*

**Fulfillment**

- <ChangelogBadge type="fixed" /> **Verify tracking_id and tracking_url in fulfillment events**  
  Validates tracking_id and tracking_url before forwarding carrier fulfillment events to WHITELABEL so updates with missing values are skipped gracefully.

## v4.2.244
*October 31, 2025*

**Pix**

- <ChangelogBadge type="added" /> **NSU on Pix responses**  
  Includes the NSU transaction identifier in the Pix response so it can be reconciled with the bank.

## v4.2.242
*October 22, 2025*

- <ChangelogBadge type="added" /> **Skip redundant payment-status call**  
  Skips the payment-status check when the local state is already PENDING, reducing redundant gateway round-trips.

**Card Payments**

- <ChangelogBadge type="added" /> **Card IIN lookup and dynamic card type detection**  
  Looks up the card BIN (IIN) at checkout so the connector can detect the card brand and whether it is credit or debit dynamically, instead of relying on a static configuration.

- <ChangelogBadge type="added" /> **Soft Descriptor configuration**  
  Adds a Soft Descriptor configuration field so merchants can control the text that appears on the customer's card statement.

## v4.2.241
*September 24, 2025*

**Payment Metadata**

- <ChangelogBadge type="added" /> **Send payment reference in metadata**  
  Sends the merchant payment reference along with the payment metadata so it can be used for downstream reconciliation.

**Dependency Updates**

- <ChangelogBadge type="security" /> **Patch brace-expansion dependency**  
  Upgrades the brace-expansion dependency to a patched version to close a reported vulnerability.

- <ChangelogBadge type="security" /> **Pin brace-expansion across transitive paths**  
  Pins brace-expansion across all transitive paths so only the patched version is resolved.

## v4.2.240
*September 4, 2025*

- <ChangelogBadge type="added" /> **Update koa dependency**  
  Upgrades the Koa server framework to a newer release line.

- <ChangelogBadge type="changed" /> **Revert Koa upgrade**  
  Rolls back the Koa framework upgrade shipped in the previous release while compatibility issues are resolved.

## v4.2.238
*July 31, 2025*

- <ChangelogBadge type="added" /> **Non-blocking hostname lookup**  
  Removes blocking I/O from the connector's hostname lookup so a slow DNS response can't stall the request.

**Webhooks**

- <ChangelogBadge type="fixed" /> **Support webhook v2**  
  Adds support for webhook v2.

## v4.2.235
*July 7, 2025*

**PSE**

- <ChangelogBadge type="added" /> **PSE for Colombia**  
  Adds PSE (Pagos Seguros en Línea) as a supported payment method for Colombian merchants, using the bank-redirect flow.

## v4.2.234
*July 7, 2025*

**PCI & Secure Proxy**

- <ChangelogBadge type="fixed" /> **Proxy authorization header on PCI calls**  
  Adds the Proxy-Authorization header on outbound calls that traverse the VTEX IO proxy, fixing 407 responses on tokenized requests.

## v4.2.231
*June 27, 2025*

- <ChangelogBadge type="fixed" /> **Forward proxy and protocol headers**  
  Forwards the original VTEX request headers (X-Forwarded-Proto and Port) so downstream services see the merchant's protocol correctly.

## v4.2.230
*June 18, 2025*

- <ChangelogBadge type="added" /> **Uppercase platform identifier**  
  Normalizes the platform identifier sent to WHITELABEL to upper-case, aligning with the gateway's expected enum value.

## v4.2.229
*June 11, 2025*

**Reliability**

- <ChangelogBadge type="fixed" /> **Axios request timeout**  
  Adds an explicit timeout to the Axios HTTP client so hanging connections fail fast instead of stalling the payment.

**Dependency Updates**

- <ChangelogBadge type="security" /> **Patch tar-fs vulnerability**  
  Upgrades the tar-fs dependency to a patched version to close a reported security advisory.

## v4.2.227
*May 14, 2025*

- <ChangelogBadge type="fixed" /> **Update dependencies**  
  Bumps several third-party dependencies to their latest patched versions, including the Koa server framework.

## v4.2.226
*May 13, 2025*

**Capture**

- <ChangelogBadge type="fixed" /> **Use the VTEX-supplied amount on capture**  
  Captures the exact amount that VTEX sends with the capture request, instead of recomputing it from the original order total. This prevents capture mismatches when the order total has changed (partial refunds, gift cards, marketplace splits).

## v4.2.225
*May 7, 2025*

**Reliability**

- <ChangelogBadge type="fixed" /> **Log retry-limit exhaustion**  
  Adds a clear log entry when the connector exhausts the retry budget for an outbound request, easing on-call diagnosis.

## v4.2.223
*April 30, 2025*

**Fulfillment**

- <ChangelogBadge type="added" /> **Additional shipping-type mappings**  
  Extends the fulfillment mapping with extra shipping types (such as store pickup and marketplace handoff) so more order flows are reported back to the gateway.

## v4.2.222
*April 29, 2025*

**Payment Metadata**

- <ChangelogBadge type="added" /> **Total cart value as metadata**  
  Includes the total cart value as metadata on each payment, useful for risk scoring and reporting.

## v4.2.221
*April 29, 2025*

- <ChangelogBadge type="fixed" /> **Preserve original order dates**  
  Stops overriding the original order dates when updating a payment, preserving the merchant-facing timestamps.

## v4.2.218
*April 11, 2025*

**Reliability**

- <ChangelogBadge type="added" /> **4-hour retry window for stuck payments**  
  Adds a 4-hour retry window before re-attempting a stuck payment, reducing pressure on the gateway.

## v4.2.217
*April 11, 2025*

**Capture**

- <ChangelogBadge type="added" /> **Capture wallet payments**  
  Triggers the capture call to WHITELABEL for wallet-based payments so capture timing matches the auto-settle window.

## v4.2.216
*April 10, 2025*

**Cancellation Flow**

- <ChangelogBadge type="added" /> **4-hour auto-cancel window**  
  Raises the auto-cancellation window to 4 hours, giving slow alternative payment methods enough time to settle.

## v4.2.215
*April 9, 2025*

**Fulfillment**

- <ChangelogBadge type="added" /> **Forward carrier status**  
  Retrieves the carrier status from VTEX and forwards it to WHITELABEL as part of the fulfillment update.

## v4.2.214
*April 9, 2025*

**Fulfillment**

- <ChangelogBadge type="added" /> **Send fulfillment completed event**  
  Sends a fulfillment-completed event to WHITELABEL when the VTEX order has been fully delivered.

## v4.2.213
*March 28, 2025*

**Fulfillment**

- <ChangelogBadge type="added" /> **Include shipped-at timestamp**  
  Sends the actual shipping timestamp in fulfillment updates so WHITELABEL can compute accurate delivery SLAs.

**Dependency Updates**

- <ChangelogBadge type="changed" /> **Upgrade Axios HTTP client**  
  Updates the Axios HTTP client to the latest stable version, picking up bug fixes and security patches.

## v4.2.210
*March 21, 2025*

- <ChangelogBadge type="added" /> **Include product brand on items**  
  Includes the product brand on each line item sent to WHITELABEL so brand-level reporting is possible.

## v4.2.209
*March 20, 2025*

**Multi-Account**

- <ChangelogBadge type="fixed" /> **Skip account lookup when main account is configured**  
  Skips the account-lookup call when a main account is already configured, removing a redundant VTEX API request.

## v4.2.204
*March 17, 2025*

**Cancellation Flow**

- <ChangelogBadge type="added" /> **Skip cancel when payment is still pending**  
  Skips the cancellation path when a payment is not yet made and the order is in a transient state, preventing premature aborts.

## v4.2.202
*March 14, 2025*

**Fulfillment**

- <ChangelogBadge type="fixed" /> **Tracking URL and ID as arrays**  
  Sends shipping tracking URL and ID as arrays in fulfillment updates, matching WHITELABEL's updated schema.

## v4.2.201
*March 12, 2025*

- <ChangelogBadge type="added" /> **Reject non-numeric order IDs**  
  Adds order-id format validation to reject non-numeric or malformed identifiers before the payment is created.

## v4.2.199
*March 10, 2025*

- <ChangelogBadge type="added" /> **Check for existing WHITELABEL payment before creating**  
  Before creating a new WHITELABEL session the connector first checks whether the merchant order already has a payment recorded, avoiding duplicates.

## v4.2.198
*March 10, 2025*

- <ChangelogBadge type="added" /> **Validate and recover order ID**  
  Validates the order ID before processing and, when invalid, attempts to recover the canonical order ID from VTEX.

## v4.2.197
*March 6, 2025*

**Customer & Address**

- <ChangelogBadge type="added" /> **Send customer creation date**  
  Includes the customer creation date in the payment payload so WHITELABEL can apply customer-tenure-based rules.

## v4.2.196
*March 6, 2025*

**Monnet**

- <ChangelogBadge type="added" /> **Support Monnet in WHITELABEL VTEX SDK**  
  Adds support for monnet in WHITELABEL VTEX SDK.

## v4.2.195
*March 5, 2025*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Patch dependency vulnerabilities (cross-spawn, koa)**  
  Patches reported vulnerabilities across two dependencies (cross-spawn and koa) in one update.

**Fulfillment**

- <ChangelogBadge type="added" /> **Send fulfillment events to WHITELABEL**  
  Forwards VTEX fulfillment events (shipped, delivered) to WHITELABEL so it reflects the order lifecycle.

## v4.2.186
*February 24, 2025*

**Multi-Account**

- <ChangelogBadge type="changed" /> **Expose account name to the front-end**  
  Exposes the connector account name to the front-end so multi-account checkouts can be routed correctly.

## v4.2.184
*February 7, 2025*

**PicPay**

- <ChangelogBadge type="added" /> **PicPay Wallet**  
  Adds PicPay digital wallet as a supported payment method through the wallet-redirect flow.

## v4.2.182
*January 30, 2025*

- <ChangelogBadge type="fixed" /> **Handle socket hang-ups on WHITELABEL calls**  
  Adds handling for socket-level hang-ups when calling the WHITELABEL API, retrying instead of failing the transaction.

## v4.2.176
*January 20, 2025*

- <ChangelogBadge type="added" /> **Coupons total as a separate line item**  
  Sends the coupon-discount total as a separate line item to WHITELABEL so the order totals reconcile correctly.

## v4.2.175
*January 17, 2025*

**Multi-Account**

- <ChangelogBadge type="added" /> **Sub-store / multi-account routing**  
  Adds sub-store support so franchises can route payments through a parent account when needed.

## v4.2.168
*December 18, 2024*

**Reliability**

- <ChangelogBadge type="added" /> **Retry secure-proxy tokenization**  
  Adds retries on the WHITELABEL Secure Proxy tokenization call so transient PCI gateway failures don't fail the payment.

## v4.2.155
*December 16, 2024*

**Multi-Account**

- <ChangelogBadge type="added" /> **Sales-channel policy resolution**  
  Resolves the sales-channel policy so the connector picks the right policy when multiple are configured on the merchant account.

## v4.2.146
*December 9, 2024*

- <ChangelogBadge type="added" /> **Wait before auto-cancelling**  
  Adds a wait window before auto-cancelling a payment, giving wallet redirects enough time to complete.

## v4.2.144
*December 6, 2024*

**Cancellation Flow**

- <ChangelogBadge type="added" /> **Faster auto-cancel for generic WHITELABEL method**  
  Reduces the auto-cancel delay when the payment method is the generic WHITELABEL option, improving the merchant's view of pending transactions.

## v4.2.141
*December 4, 2024*

- <ChangelogBadge type="fixed" /> **Upgrade semver-regex**  
  Upgrades the semver-regex dependency to patch a reported vulnerability.

- <ChangelogBadge type="fixed" /> **Patch reported vulnerabilities (group 1)**  
  Bulk upgrade of dependencies to patch a batch of reported third-party vulnerabilities.

- <ChangelogBadge type="fixed" /> **Patch reported vulnerabilities (group 2)**  
  Bulk upgrade of dependencies to patch a further batch of reported third-party vulnerabilities.

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump the npm_and_yarn group across 2 directories with 19 updates**  
  Patches 19 reported third-party dependency vulnerabilities in one bulk security update.

- <ChangelogBadge type="security" /> **Bump the npm_and_yarn group across 2 directories with 15 updates**  
  Patches 15 reported third-party dependency vulnerabilities in one bulk security update.

- <ChangelogBadge type="security" /> **Bump the npm_and_yarn group across 2 directories with 8 updates**  
  Patches 8 reported third-party dependency vulnerabilities in one bulk security update.

**Card Payments**

- <ChangelogBadge type="added" /> **Debit cards (Maestro, Voucher, Elo Débito)**  
  Adds Maestro, Visa Electron, Elo Débito, Mastercard Debit and Voucher as supported debit-card payment methods.

## v4.2.137
*November 19, 2024*

**Webhooks**

- <ChangelogBadge type="added" /> **Webhook logging**  
  Adds structured logging to the webhook handler so incoming WHITELABEL events can be traced.

## v4.2.136
*November 14, 2024*

**Fulfillment**

- <ChangelogBadge type="changed" /> **Send shipping status to WHITELABEL**  
  Forwards the order's shipping status as part of the fulfillment update so WHITELABEL has end-to-end order context.

## v4.2.135
*November 8, 2024*

- <ChangelogBadge type="added" /> **Expanded payment status mapping**  
  Recognizes additional payment statuses from WHITELABEL so terminal states are mapped correctly back to VTEX.

## v4.2.134
*November 7, 2024*

**Monnet**

- <ChangelogBadge type="changed" /> **Monnet cash and bank transfer**  
  Adds Monnet cash and bank transfer as supported payment methods through an iframe flow.

## v4.2.133
*October 22, 2024*

**Pix**

- <ChangelogBadge type="changed" /> **Pix Parcelado**  
  Adds Pix Parcelado (installment Pix) as a supported payment method for Brazilian merchants.

## v4.2.132
*September 19, 2024*

**Cancellation Flow**

- <ChangelogBadge type="changed" /> **Approve cancellation when order is already known**  
  Returns a cancellation-approved response when the merchant order is already on record, avoiding spurious cancellation failures.

## v4.2.131
*September 5, 2024*

**Pagaleve**

- <ChangelogBadge type="changed" /> **Pagaleve one-time Pix**  
  Adds support for Pagaleve's single-payment Pix option (a vista).

## v4.2.130
*August 29, 2024*

**Pagaleve**

- <ChangelogBadge type="changed" /> **Pagaleve installment Pix**  
  Adds support for Pagaleve's installment-Pix offering, letting buyers split a Pix payment over multiple instalments.

## v4.2.129
*August 29, 2024*

**Pagaleve**

- <ChangelogBadge type="changed" /> **Add Pagaleve initial support**  
  Adds initial support for Pagaleve as a buy-now-pay-later option for Brazilian merchants.

## v4.2.128
*August 28, 2024*

**Boleto**

- <ChangelogBadge type="changed" /> **Boleto Banco do Brasil**  
  Adds Boleto Banco do Brasil as a supported payment option.

## v4.2.127
*August 28, 2024*

**Pix**

- <ChangelogBadge type="changed" /> **Pix redirect flow**  
  Adds the Pix redirect flow as an alternative to QR code, so merchants can route customers to the bank-side payment page.

## v4.2.126
*August 19, 2024*

**Customer & Address**

- <ChangelogBadge type="changed" /> **Richer logs and neighborhood extraction**  
  Enriches connector logs with more context and extracts the neighborhood field from VTEX addresses so it can be sent to the gateway.

## v4.2.117
*August 15, 2024*

**Customer & Address**

- <ChangelogBadge type="changed" /> **Improve customer address handling**  
  Forwards all address sub-fields (state, neighborhood, complement) to WHITELABEL so payments include the complete buyer address.

## v4.2.115
*August 14, 2024*

**Alelo**

- <ChangelogBadge type="changed" /> **Add Alelo brand**  
  Adds the Alelo card brand to the supported payment-method list in the provider configuration.

## v4.2.114
*August 12, 2024*

**Refunds**

- <ChangelogBadge type="changed" /> **Fix typo on refund description**  
  Corrects a typo in the message returned to VTEX after a refund is processed.

## v4.2.113
*August 8, 2024*

- <ChangelogBadge type="changed" /> **Fetch payment details from VTEX**  
  Looks up payment details from the VTEX transactions API so the connector has accurate context when handling captures and refunds.

## v4.2.107
*July 18, 2024*

**Configuration**

- <ChangelogBadge type="changed" /> **Remove custom field**  
  Removes a custom configuration field that was no longer used by any merchant.

## v4.2.106
*July 18, 2024*

- <ChangelogBadge type="changed" /> **Restore AES session encryption**  
  Restores AES-256-CBC encryption for sensitive session data passed between front-end and back-end after a regression removed it.

## v4.2.92
*July 15, 2024*

**Card Payments**

- <ChangelogBadge type="changed" /> **Two-card split payments**  
  Adds support for splitting a payment across two cards in the same VTEX checkout.

## v4.2.91
*July 10, 2024*

**Alelo**

- <ChangelogBadge type="changed" /> **Alelo (initial support)**  
  Adds Alelo benefit cards as a supported payment method (initial integration).

## v4.2.90
*July 5, 2024*

**Apple Pay**

- <ChangelogBadge type="changed" /> **Support Apple pay**  
  Adds Apple Pay support, including the Apple-Pay-sheet flow at the VTEX checkout.

## v4.2.89
*June 28, 2024*

- <ChangelogBadge type="changed" /> **Alternative payment method status validation**  
  Adds payment-status validation for alternative payment methods so the connector reports the correct final state back to VTEX.

## v4.2.88
*June 20, 2024*

**Multi-Account**

- <ChangelogBadge type="changed" /> **Forward merchant account on payments**  
  Sends the merchant account identifier with each payment so WHITELABEL can resolve the correct affiliation when multiple are configured.

## v4.2.87
*June 19, 2024*

**Google Pay**

- <ChangelogBadge type="changed" /> **Enable Google Pay**  
  Activates Google Pay as a supported payment method at the VTEX checkout.

## v4.2.86
*June 17, 2024*

**Nubank**

- <ChangelogBadge type="changed" /> **Nu Pay support**  
  Adds Nu Pay (Nubank's credit-line payment) as a supported method for Brazilian merchants.

## v4.2.85
*June 13, 2024*

**Boleto**

- <ChangelogBadge type="changed" /> **Boleto Bancário integration**  
  Adds support for Boleto Bancário, returning the barcode and payment URL so merchants can render them at checkout.

## v4.2.84
*May 31, 2024*

**Card Payments**

- <ChangelogBadge type="changed" /> **Improve card logs**  
  Adds more context to card-payment logs to speed up incident triage and merchant support investigations.

## v4.2.83
*May 28, 2024*

**Webhooks**

- <ChangelogBadge type="added" /> **Webhook receiver for payment status**  
  Adds a webhook receiver so the connector can update VTEX payment status when WHITELABEL publishes terminal events.

## v4.2.81
*April 30, 2024*

**Nubank**

- <ChangelogBadge type="changed" /> **Add Nubank**  
  Adds Nubank as a supported payment method for Brazilian merchants.

## v4.2.80
*April 26, 2024*

**PagoEfectivo & SafetyPay**

- <ChangelogBadge type="added" /> **PagoEfectivo and SafetyPay**  
  Adds initial support for PagoEfectivo and SafetyPay as redirect-style payment options targeting Peru.

## v4.2.76
*April 4, 2024*

**Capture**

- <ChangelogBadge type="changed" /> **Declare auto-settle support**  
  Declares auto-settle support in the provider configuration so VTEX correctly hands off capture timing to the connector.

## v4.2.74
*March 19, 2024*

**Apple Pay**

- <ChangelogBadge type="changed" /> **Enable Apple Pay**  
  Activates Apple Pay as a supported payment method at the VTEX checkout for merchants enrolled in the Apple Pay program.

## v4.2.73
*March 15, 2024*

**Pix**

- <ChangelogBadge type="changed" /> **Support vtex pix**  
  Adds support for vtex pix.

## v4.2.72
*March 11, 2024*

- <ChangelogBadge type="changed" /> **NSU transaction identifier**  
  Includes the NSU (transaction sequence number) in the payment response so merchants can reconcile transactions with the acquirer.

## v4.2.71
*March 4, 2024*

- <ChangelogBadge type="changed" /> **Send raw payment response**  
  Includes the raw WHITELABEL payment response in the VTEX callback so merchants and support teams have full provider context when investigating.

## v4.2.70
*October 4, 2023*

**Observability**

- <ChangelogBadge type="changed" /> **Upgrade event-log library to v1**  
  Picks up new fields, bug fixes, and improved trace-ID support from the v1 release of the event-log library.

## v4.2.69
*October 4, 2023*

**Performance & Latency**

- <ChangelogBadge type="changed" /> **Performance improvement**  
  Reduces latency on the payment authorization path through targeted optimizations in the hottest code paths.

## v4.2.67
*September 20, 2023*

**Observability**

- <ChangelogBadge type="changed" /> **WHITELABEL event-log library integration**  
  Wires in the WHITELABEL event-log library so connector errors are tracked centrally with trace IDs that link gateway and merchant logs.

## v4.2.55
*September 13, 2023*

**Observability**

- <ChangelogBadge type="changed" /> **Structured event logs**  
  Introduces structured event logging across the connector to make production troubleshooting easier.

## v4.2.35
*August 17, 2023*

**3-D Secure**

- <ChangelogBadge type="changed" /> **3-D Secure support**  
  Adds end-to-end 3-D Secure for card payments so merchants can comply with strong-customer-authentication requirements.

## v3.0.0
*May 26, 2023*

**Observability**

- <ChangelogBadge type="changed" /> **Event log parsed error fixed**  
  Fixes a parsing error that prevented some failures from being recorded in the event log.

## v1.2.0
*December 21, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump urijs from 1.19.6 to 1.19.11 in /node**  
  Patches several reported vulnerabilities in the urijs URL-parsing dependency.

## v1.1.0
*December 21, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump minimatch from 3.0.4 to 3.1.2 in /node**  
  Patches a regular-expression denial-of-service issue in the minimatch dependency.

## v1.0.6
*November 18, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump @babel/traverse from 7.13.0 to 7.23.6 in /node**  
  Patches an arbitrary-code-execution vulnerability in the @babel/traverse build-time dependency.

- <ChangelogBadge type="security" /> **Bump async from 2.6.3 to 2.6.4 in /node**  
  Patches a prototype-pollution issue in the async dependency.

## v1.0.5
*May 20, 2021*

- <ChangelogBadge type="changed" /> **Return undefined when the payment state is pending**  
  Aligns the connector's response for pending payments with VTEX expectations so pending payments are no longer marked as failed.

## v1.0.4
*May 17, 2021*

**3-D Secure**

- <ChangelogBadge type="added" /> **Support for the VTEX card form**  
  Adds full support for the VTEX card-payment form across all major brands, including 3-D Secure authentication.

## v1.0.3
*April 28, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump semver from 5.7.1 to 5.7.2 in /node**  
  Patches a denial-of-service vulnerability reported in the semver dependency.

## v1.0.2
*March 2, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump minimatch from 3.0.4 to 3.1.2**  
  Patches a regular-expression denial-of-service issue in the minimatch dependency.

## v1.0.1
*March 1, 2021*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump path-parse from 1.0.6 to 1.0.7**  
  Patches a regular-expression denial-of-service vulnerability in the path-parse transitive dependency.

## v1.0.0
*February 27, 2021*

- <ChangelogBadge type="changed" /> **Fix discount handling**  
  Corrects how discount amounts are forwarded to the gateway so coupon and promotion values are reflected accurately on the payment.

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump json5 from 1.0.1 to 1.0.2**  
  Patches a __proto__ prototype-pollution vulnerability in the json5 dependency.

**Fulfillment**

- <ChangelogBadge type="added" /> **Order events**  
  Adds order-event tracking so VTEX order state transitions propagate to WHITELABEL.

## v0.0.2
*February 28, 2020*

**Dependency Updates**

- <ChangelogBadge type="security" /> **Bump minimist from 1.2.5 to 1.2.8**  
  Patches a reported prototype-pollution vulnerability in the minimist dependency.