2026-09-29
β¨ Improvements
- When a payment fails with
IDEMPOTENCY_KEY_ALREADY_EXISTS, theprimer:payment-failureevent now carries the payment that already exists under the key β itsid(from the error response) andorderIdβ instead ofpayment: undefined. If you supply your own idempotency key fromonBeforePaymentCreate, you can now reconcile a rejected duplicate attempt against the payment the first attempt created. See theprimer:payment-failurereference.
2026-09-29
π§ Fixes
- Fixed the Apple Pay payment sheet showing β0 monthsβ for a trial period. The SDK now sends
recurringStartDate,recurringIntervalUnitandrecurringIntervalCountfromrecurringPaymentRequest.trialBillingto Apple Pay, so a 3-day trial reads β3 daysβ. See the Apple Pay API reference. - Fixed an Apple Pay billing
amountof 0 falling back to the order amount on the payment sheet. The fallback now applies only whenamountis omitted, across the regular, trial, deferred and automatic reload billing options.
2026-09-25
β¨ Improvements
- The default βShow other payment methodsβ toggle now reads βHide other payment methodsβ while the section is expanded, instead of keeping the same label in both states.
2026-09-24
β¨ Improvements
- Klarna payments now send an idempotency key by default: the sessionβs Klarna authorization token, unless you supply your own key from
onBeforePaymentCreate. One authorization can only produce one payment. A retried or double-clicked attempt now resolves to the payment an earlier request already created and reports its real outcome, instead of failing the checkout or creating a duplicate. Payment creation under this key retries up to three times on 5xx and network failures. - If you supply your own idempotency key, a conflict on the first attempt still surfaces as
IDEMPOTENCY_KEY_ALREADY_EXISTS. - After a failed payment, Klarna refreshes its session and widget so the shopperβs next attempt authorizes freshly.
2026-09-16
π New features
- Colour the text a shopper types, separately from the sheet.
--primer-color-text-outlined-defaultsets input text on its own, so a dark field on a light sheet (or the reverse) no longer means overriding the sheetβs text colour. It reaches the hosted card number, expiry and CVV fields too. See Text colors. - Added
--primer-space-xxlarge, and pointed the stylesheet at the same semantic colour names the iOS, Android and React Native SDKs use, so a theme reads the same across all four. No visual change on its own.
- BLIK, MB WAY and the accordionβs confirm button now behave consistently with the other checkout buttons in their disabled, loading and focus states.
- Every border and focus ring is drawn from the width tokens instead of a hardcoded pixel value. A width override that carries a unit is now rejected with a warning, and an invalid value falls back to the default instead of erasing the border.
- Fixed
<primer-show-other-payments>landing in the wrong expanded state when used with a custom (slotted) toggle button and rendered before saved payment methods finished loading. The expanded state now follows the saved payment methods as they load, instead of being fixed when the component first renders. - Fixed brand button labels and spinners taking the sheet colour in dark mode, which left them near-black on a dark background. They now stay light.
- Fixed hover and active resolving to the resting colour on the secondary button and the Adyen Klarna option cards, so neither appeared to respond to the pointer. The primary buttonβs label also no longer dims twice while loading, and
aria-checkedis no longer set on buttons that cannot be checked. - Fixed the select chevron using a baked-in near-black instead of following the icon colour, and the option list now draws dark when the dark theme is on.
- Fixed styles that never took effect: the BLIK expiry warning and error text, the QR code heading size, the payment method button font, the error message slide-in, and the vault overlay, which was pinned to white instead of following the sheet.
2026-09-09
π§ Fixes
- Fixed a manually-selected card network (e.g. choosing βCartes Bancairesβ over βVisaβ on a co-badged card) persisting after the card number was cleared or changed to a different card.
- Fixed
<primer-card-form>field validation errors not appearing the first time a shopper left an invalid field, requiring them to focus and leave an unrelated field first before the error would render.
- Localisation improvements.
2026-09-03
β¨ Improvements
- Vault manager payment-method rows now use a native radio input for selection, improving keyboard and screen-reader support, with refreshed selected/CVV row styling.
- Fixed the vault managerβs CVV error message misaligning the label and input in
<primer-vault-manager>when shown. - Fixed vaulted card network names with underscores (e.g. βCARTES_BANCAIRESβ) displaying unformatted in
<primer-vault-manager>instead of as a proper name (e.g. βCartes Bancairesβ).
2026-09-01
π§ Fixes
- Vault manager payment-method rows no longer pick up the
--primer-radius-buttontoken. - The selected vaulted payment method now clears once the shopper starts filling out the card form, instead of remaining selected indefinitely in custom layouts that render both side by side.
- Fixed several CVV recapture bugs in
<primer-vault-manager>:- The validation error now only appears after a Pay attempt, instead of flashing when switching between stored cards.
- Clicking near the CVV field no longer collapses the selected card.
- The error message no longer shifts the layout of the cards below it.
2026-08-28
π New features
- Independent button corner radius. Added
--primer-radius-buttonso you can round (or square off) checkout buttons β payment method buttons, the card form submit button, and the Klarna confirm button β without affecting components that share the same radius tokens, like dialogs, card inputs, and the accordionβs expanded container. See Button styling tokens. - Restrict vaulted payment method types.
<primer-vault-manager>now accepts avault.enabledPaymentMethodsoption to show only specific vaulted payment method types. See Vault manager configuration.
- Vaulted payment methods of unsupported types are no longer shown in
<primer-vault-manager>. - Fixed the vault managerβs CVV recapture prompt and card expiry label not respecting the configured locale, and other localisation improvements.
2026-08-24
π New features
- Customizable initialization errors. When the SDK fails to initialize (e.g. an invalid or expired client token),
<primer-main>now renders acheckout-errorslot instead of a fixed error screen. Provide your own content for that slot, and listen forprimer:state-changeto read theprimerJsErrordetails (code,message,suggestion) for logging or branching. See Error handling and the<primer-main>reference.
2026-08-12
β¨ Improvements
- Improved how the SDK handles poor internet conditions, making the checkout more reliable.
- Fixed an issue where a failure to load saved payment methods would prevent the entire checkout from rendering.
2026-07-15
π§ Fixes
- Fixed an issue where multiple card payment flows could be started concurrently.
- Internal improvements.
2026-07-13
π§ Fixes
- Fixed amount formatting for some currencies.
2026-07-08
β¨ Improvements
- Added localized translations for the βSEPA instant credit transferβ payment method button.
2026-07-03
π New features
- Manual payment approval (Backend-Driven CIT). Require explicit backend approval of each payment before itβs created. See the Manual payment approval guide, or the migration guide if youβre moving from the legacy manual flow.
- Added support for Bancontact Payconiq, Xfers PayNow, Omise PromptPay, and Rapyd PromptPay payment methods.
2026-06-24
π§ Fixes
- Improved browser detection so that redirect payment methods correctly fall back to a full-page redirect instead of opening a popup in environments where popups are unreliable, such as in-app browsers.
- Internal security, performance, and stability improvements.
2026-06-17
π New featuresπ§ Fixes
- Payment methods are now re-evaluated when you call
primer.refreshSession(). Methods hidden by your Checkout Builder visibility rules are removed from the rendered list instead of staying visible, and a newonAvailablePaymentMethodsRefreshcallback notifies you whenever the available payment methods change.
refreshSession() is ignored (with a console warning) while a payment is in progress, so payment methods canβt change underneath the customer mid-payment.- Fixed false
primer:payment-failureevents being emitted for payments that were still processing and went on to succeed. When a resume response indicates the payment is still being authorized, the SDK now waits for it to settle before reporting an outcome β preventing customers from being asked to retry a payment that had already gone through. - Payment failure events now include the created paymentβs
idand adiagnosticsId, making failures easier to reconcile against your Dashboard and the Payments API.
2026-06-02
β¨ Improvements
- Redirect APMs flow improvements.
- Fixed an issue where the card form could be submitted multiple times concurrently.
2026-05-28
π New features
- Content in the
mainslot now renders immediately, before the SDK finishes initializing. Combined with theloader-disabledattribute, this lets you show custom UI alongside<primer-main>before theprimer:readyevent fires.
2026-05-21
π§ Fixes
- Fixed a issue where aborting a payment in some scenarios wasnβt working correctly.
2026-05-19
π§ Fixes
- Fixed a CSP issue that was blocking the SDK from rendering.
2026-05-06
π New features
- Added Adyen Mbway and Pay NL Paypal payment methods
- Fixed cardholder name validations
- Fixed rendering of certain APM buttons
2026-04-23
π§ Fixes
- Fixed filter vaulted cards by orderedAllowedCardNetworks
- Fixed google pay disabled not working on safari
- Fixed a single card network icon on the card number input should not be interactive (accessibility)
- Fixed propagate options on the hosted inputs
2026-04-17
π§ Fixes
- Fixed initialization lifecycle not cleaning up previous state properly, causing issues when reinitializing (e.g. when changing the
clientToken)
2026-04-16
π New features
- Added Klarna and Adyen Klarna payment methods
- Fixed 3ds method timeout
2026-03-31
π§ Fixes
- Paying with vaulted methods now triggers
primer:payment-startcorrectly
2026-03-30
π§ Fixes
- When using Google Pay as a payment method, amount sent when creating client session will take presedence over calculated amount from line items
- Internal payment method processing improvements
2026-03-19
π§ Fixes
- Fixed a billing address component render issue when sdkCore was not explicitly set
- Fixed a country selector inconsistent behavior
2026-03-16
π§ Fixes
- Fixed an issue that prevented card fields from rendering on Angular (NgZone)
2026-03-16
π New features
- Added gift card payment methods support on
sdkCore: true(PAY_NL_KAARTDIRECT,MOLLIE_GIFTCARD) primer:payment-cancelevent now includes payment data when a payment method is already created before itβs unselected
- Fixed the order of the
primer:card-successevent being fired - Fixed dark mode styling issues on dialogs
- Fixed card network displaying an infinite loading spinner
2026-03-10
π§ Fixes
- Fixed a bug where third-party browser extensions could cause the checkout screen to become blank
2026-03-09
π§ Fixes
- Fixed a card form autofill bug where the expiry date field didnβt handle full-year formats correctly (e.g. on Chrome, autofilling
10/2026would populate10/20instead of10/26)
2026-03-04
π§ Fixes
- Fixed Apple Pay payment sheet closing when trying to pay with third-party desktop browsers
- EFTPOS co-badged cards now leave network selection up to the vendor without user interaction
2026-02-25
π§ Fixes
- Fixed an issue where checkout failures were triggered when the user cancelled a payment flow
2026-02-19
π New features
primer:payment-startevent is now preventable, providing control over payment creation flow withabortPaymentCreation()andcontinuePaymentCreation()methodsprimer:payment-startevent now includespaymentMethodType,timestamp, and optionalidempotencyKeysupport viacontinuePaymentCreation({ idempotencyKey })primer:vault-methods-updateevent now includescvvRecapturedata- Added new
primer:payment-cancelevent, dispatched when a payment is cancelled
-
Events API changes
primer:payment-successβ renamedpaymentSummaryproperty topaymentprimer:payment-failureβ renamedpaymentSummaryproperty topayment- Vault events no longer use the
vaultnamespace (e.g.primer:vault:methods-updateβprimer:vault-methods-update,primer:vault:selection-changeβprimer:vault-selection-change) primer:payment-startevent payload changed to{ paymentMethodType, abortPaymentCreation, continuePaymentCreation, timestamp }
-
Callbacks deprecated
- All callbacks (
onPaymentSuccess,onPaymentFailure,onPaymentStart,onPaymentPrepare,onVaultedMethodsUpdate) are now deprecated. Use events instead.
- All callbacks (
-
Simplified API
- Removed
.toArray()on vaulted payments β vaulted payments are now returned as an array directly - Removed
.toArray()on payment methods β payment methods are now returned as an array directly
- Removed
- Events Guide - Updated event system overview
- Events Reference - Full payload reference
- Prevent duplicate payments with idempotency keys - Recipe for using idempotency keys with the preventable
primer:payment-startevent
2026-02-16
π New features
- Added
primer:bin-data-availableevent, providing card network detection along with rich BIN data including issuer information, account funding type, and card attributes. - Added
primer:bin-data-loading-changeevent to indicate when BIN data is being fetched from Primerβs servers.
- Events Guide - Usage examples
- Events Reference - Full payload reference
2026-02-11
π§ Fixes
- Fixed a failed payment flow issue
2026-01-29
π§ Fixes
- Improved error handling and fixed circular errors
2026-01-27
π§ Fixes
- Fixed Google Pay vaulted item rendering
- Fixed PayPal button rendering issues within vault manager
2026-01-23
β¨ Improvements
- Enhanced error logging capabilities
2026-01-14
π New featuresSupport for redirect-based Alternative Payment Methods (APMs) with a popup-first approach. The SDK opens a popup overlay dialog for redirect payments, with automatic fallback to full-page redirect for WebViews and blocked popups.Key Changes:
-
Redirect Payment Methods
- Popup-first flow with overlay dialog
- Automatic fallback to full-page redirect for WebViews and blocked popups
- New
redirectconfiguration options:returnUrl,forceRedirect,resumePaymentOnPopupClosure
-
New Events
primer:dialog-openβ dispatched when the redirect payment dialog opensprimer:dialog-closeβ dispatched when the redirect payment dialog closes
- SDK Options Reference - Redirect configuration details
- Events Reference - Dialog event documentation
2026-01-13
π§ Fixes
- Import regression bug fix that fixes PayPal button rendering on
sdkCore: false
2026-01-13
π§ Fixes
- Fixed dispatch of payment-start event
2026-01-09
β¨ ImprovementsNew design tokens added for error states in components:Check the documentation to learn more.
2026-01-07
π§ Fixes
- Fixed translations for en-US locale
- Fixed PayPal horizontal layout style
2025-12-16
π New featuresApple Pay and Google Pay are now available in SDK Core with early-stage support.Key Changes:Apple Pay and Google Pay changesPayPal changesDocumentation:
- Apple Pay payment method support in SDK Core
- Google Pay payment method support in SDK Core
- Apple Pay third-party browser payment using iPhone support is added
- Enhanced PayPal support with better defaults and per-funding source styling configuration
enabledPaymentMethods array:-
Apple Pay Payment Method
- Full Apple Pay integration with SDK Core
- Button customization (17 button types, 3 button styles)
- Billing address capture from Apple Wallet (
requiredBillingContactFields) - Shipping contact capture (address, name, email, phone) via
requiredShippingContactFields - Non-Safari browser support
-
Google Pay Payment Method
- Full Google Pay integration with SDK Core
- Button customization (type, color, size mode, radius, border, locale)
- Billing address capture from Google account (
captureBillingAddress) - Shipping address capture with country filtering (
captureShippingAddress) - Email capture (
emailRequired) - Locale support for 30+ languages
- Enhanced PayPal Support
- Per-funding source styling configuration
- Override styles for specific funding sources (e.g., PayPal, Pay Later, Venmo)
- Better defaults for button appearance
- Buyer country configuration support
- Apple Pay Options Reference - Complete configuration options and API reference
- Google Pay Options Reference - Complete configuration options and API reference
- PayPal Options Reference - Complete configuration options and API reference
The new payment methods are in early-stage support. Additional features and improvements will be added in future releases.
2025-11-26
π New featuresThis release introduces the Documentation:
primerJS.vault.* namespace for better API organization and adds programmatic vault deletion capability. Enhanced data exposure now provides parity between headless and non-headless vault flows.Key Changes:-
Vault API Namespace (Breaking Change)
- New
primerJS.vault.*namespace groups all vault operations vault.createCvvInput()replacesprimerJS.createCvvInput()vault.startPayment()replacesprimerJS.startVaultPayment()- Old methods deprecated with console warnings in development mode
- Old methods will be REMOVED in the next release
- New
-
New Vault Deletion Method
- Added
primerJS.vault.delete(paymentMethodId)for programmatic deletion - Enables custom vault management UIs without Primer UI components
- Added
-
Enhanced Data Exposure for Headless Vault
- Cards: Now exposes
cardholderName,expirationMonth,expirationYear - PayPal: Now exposes
email,firstName,lastName,externalPayerId - Klarna: Now exposes
email,firstName,lastName - Provides data parity between headless mode and non-headless vault UI
- Cards: Now exposes
- Headless Vault Implementation Guide - Complete implementation example
- Events & Callbacks Reference - VaultAPI documentation
2025-11-19
β¨ ImprovementsIntelligent change detection for SDK options prevents unnecessary re-initialization when object references change but content remains identical. Solves form flickering and data loss issues in React applications.Key Changes:Documentation:
-
Deep Comparison Implementation
- Added deep equality comparison for
optionsproperty changes - Prevents SDK re-initialization when new object references contain identical values
- Eliminates form flickering and data loss during React re-renders
- Added deep equality comparison for
-
React Integration Improvements
- Inline options objects now work correctly without causing re-initialization
- User-entered payment data preserved across component updates
useMemono longer required (though still recommended for optimal performance)
-
Backward Compatible
- No breaking changes or API modifications
- Existing code continues to work identically
- React Integration Guide - Updated with deep comparison behavior and best practices
- Options Guide - Comprehensive options configuration patterns
2025-11-18
π New featuresComplete headless vault implementation allowing full programmatic control over vaulted payment methods. Build custom vault UIs while retaining all vault functionality.Key Changes:
-
Headless Vault Mode
- Added
vault.headlessconfiguration option to hide vault UI components while maintaining full vault functionality - Enables custom vault UI implementation with complete control over layout and styling
- All vault features remain operational (payment method selection, CVV recapture, submission)
- Fully compatible with existing vault configuration options
- Added
-
CVV Recapture Support
- Added
cvvRecaptureflag inonVaultedMethodsUpdatecallback data - Indicates when CVV re-entry is required for a vaulted payment method
- Automatically set based on payment processor requirements
- Added
-
New PrimerJS Methods
- Added CVV input creation for custom vault UI
- Added vault payment initiation for programmatic control
- Type-safe integration with TypeScript support
- Changed
vault.showEmptyStatedefault fromtruetofalse - Aligns with common use cases where empty state is custom or hidden
- Explicit opt-in now required for empty state display
- Headless Vault Implementation Guide - Complete implementation example with code
- Vault Options Reference - Complete vault.headless API reference
- Events & Callbacks Reference - Method documentation
2025-11-17
π New features
- Added new event
primer:vault:selection-changedispatched when a payment method is selected or deselected
- Fixed slotted show other payment methods toggle button in the case when
Paybutton is of typebutton
2025-11-17
β¨ Improvements
- Added Adyen Cash App and Affirm payment instrument types
2025-11-13
π New featuresAdded new slots for vault submit button and slot for Show other payment methods toggle button. Refer to the
<primer-vault-manager> and <primer-show-other-payments> SDK reference documentation on how to use them.2025-11-11
π§ FixesFixed build failures caused by dynamic imports issue in the billing address componentβs locale country data.Key Changes:
- Billing Address Component
- Fixed dynamic imports for locale country data
- Resolved build failures and bundle errors
- Component now builds correctly across all environments
- Merchants experiencing build failures should update immediately
- No API changes or migration required
2025-11-11
π New featuresPre-fill the cardholder name field with a default value using synchronous initialization. No race conditions, no blank field flash - the value appears immediately when the checkout loads.Key Changes:Technical Details:
- Cardholder Name Pre-filling
- Added
card.cardholderName.defaultValueoption for synchronous cardholder name pre-filling - Value applied during iframe initialization (before it becomes visible)
- Eliminates race conditions and blank field flash from async approaches
- User can edit or clear the pre-filled value
- Backward compatible - optional parameter
- Added
- Synchronous initialization via iframe URL hash
- Value visible immediately when iframe loads (T+4ms vs T+16ms for async)
- No timing issues or readiness checks required
- Works with SDK Core enabled (default)
- Pre-filling from user profiles during checkout initialization
- For runtime updates after initialization, use
primerJS.setCardholderName()(see v0.7.1)
- Card Options Reference - Complete API reference
- Options Guide - Configuration patterns and best practices
2025-11-07
β¨ ImprovementsThis release improves the accessibility and visual consistency of the Vault Manager component, along with fixing layout issues in the Show Other Payments component.Key Changes:
-
Vault Manager Enhancements
- Improved accessibility for better screen reader support and keyboard navigation
- Fixed icon rendering issues in dark mode for better visual consistency
-
Show Other Payments Component
- Fixed persistent padding issue when the component is collapsed
- Improved layout behavior for a cleaner collapsed state
2025-11-06
π New featuresAdded Documentation:
setCardholderName() method to PrimerJS instance for programmatically setting cardholder name values.Key Changes:- New PrimerJS Method
- Added
setCardholderName(name: string)- Programmatically set the cardholder name field value - Useful for pre-filling from user profiles or auto-completing checkout forms
- Must be called after
primer:readyevent and after card inputs are rendered - Graceful error handling with warnings if called before initialization
- Added
- Events & Callbacks Reference - Full API reference
- Events Guide - Practical usage examples
2025-11-04
π New featuresAdded comprehensive payment event system with PII-protected payment summaries and vault update notifications.Key Changes:After (v0.7.0):Documentation:
-
Callback Architecture Refactor (BREAKING)
- Removed
onPaymentCompleteunified callback - Added
onPaymentSuccess(data: PaymentSuccessData)- Handles successful payments with payment summary - Added
onPaymentFailure(data: PaymentFailureData)- Handles payment failures with error details - Added
onVaultedMethodsUpdate()- Notifies when vaulted payment methods change - Existing callbacks unchanged:
onPaymentStart,onPaymentPrepare
- Removed
-
State Field Renames (BREAKING)
errorβprimerJsError(SDK initialization/component errors)failureβpaymentFailure(payment processing failures)failure.detailsβpaymentFailure.diagnosticsId- Added
paymentFailure.datafor additional error metadata
-
New Payment Events
primer:payment-start- Dispatched when payment creation beginsprimer:payment-success- Dispatched on successful payment (includes PII-filtered PaymentSummary)primer:payment-failure- Dispatched on payment failure (includes error details)primer:vault:methods-update- Dispatched when vaulted payment methods update
-
PII Protection
- PaymentSummary type with whitelisted fields only (last4Digits, network, bankName)
- No cardholder names, full card numbers, or other PII exposed in events
- Compliant with GDPR Article 5(1)(c) and PCI DSS Requirement 3.4
-
Performance Improvements
- 40-60% reduction in redundant state-change events through deduplication
- Internal optimization with no API changes
- Events Guide - Complete event system overview
- Events & Callbacks Reference - Full API reference
2025-10-30
π New featuresPayPal is now available in SDK Core with early-stage support. PayPal provides button-based payment flows with comprehensive customization options for styling, funding source control, and vaulting.Key Changes:Documentation:
- PayPal payment method support in SDK Core
- Button style customization (layout, color, shape, height, label)
- Funding source control (enable/disable specific PayPal payment options)
- Vaulting support for saved PayPal accounts
- Sandbox testing options for development
enabledPaymentMethods array:- PayPal Options Reference - Complete PayPal configuration options
PayPal is in early-stage support. Additional features and improvements will be added in future releases.
2025-10-29
π§ FixesFixed critical bug where billing address was being set even when not required by checkout configuration, causing payment submission failures and validation errors.Key Changes:
- Fixed billing address validation logic to respect checkout configuration requirements
- Billing address no longer submitted when not required by merchant settings
- Eliminated unnecessary validation errors during payment submission
- Improved payment flow reliability
2025-10-24
π§ FixesFixed billing address rendering issue when
sdkCore option was omitted. The billing address component now correctly displays when relying on the default SDK Core setting introduced in v0.4.0.Key Changes:- Fixed SDK Core default detection for billing address component
- Billing address now renders correctly when
sdkCoreoption is not explicitly set - No impact on other SDK functionality
2025-10-21
π New featuresBLIK support is now available for the Polish market. BLIK is Polandβs leading mobile payment system that allows customers to authorize payments using a 6-digit code from their banking app.Key Changes:
- BLIK payment method for Polish market (6-digit code from banking app)
- Auto-submit with real-time status polling and timeout warnings
- Collapsible UI: button β form β loading β success/error states
- Full localization (40+ languages) and dark mode support
- TypeScript improvements: Enhanced JSDoc documentation for all
PrimerCheckoutOptionsproperties - Dependency updates across all packages
2025-10-17
π New featuresBilling address capture is now supported through Primer Dashboard checkout configuration.Key Changes:
- SDK Core enabled by default when
sdkCoreoption not specified - Billing address form support (SDK Core only)
- Automatic billing address display in drop-in mode
- Manual integration required for custom layouts
- Removed βexperimentalβ terminology from SDK Core references
- Expanded test coverage for SDK selection scenarios
- Enable via Primer Dashboard checkout configuration
- Automatic display in drop-in mode
- Manual inclusion needed for slotted card forms (custom layouts)
- Requires SDK Core enabled (not available with
sdkCore: false) - Billing Address Documentation (coming soon)
2025-10-13
π§ Fixes
- Fixed Google Pay rendering issue in certain browser configurations
- Vault CVV recapture
- Billing address API improvements
Most changes in this release relate to SDK core development.
2025-10-08
β¨ ImprovementsThis release contains internal SDK improvements with no user-facing component changes.Internal Changes:
- Iframe lifecycle fixes
- Payment methods filter list
- Datadog logging integration
2025-10-06
π§ Fixes
- PayPal button height fix
- Native payment method CSS improvements
2025-09-30
β¨ ImprovementsThis release contains internal SDK improvements with no user-facing component changes.Internal Changes:
- Card form slot handling improvements
2025-09-29
β¨ ImprovementsThis release contains internal SDK improvements with no user-facing component changes.Internal Changes:
- Analytics URL from client token
- Vault management features
- Logger implementation
- Iframe RPC refactor
2025-09-18
β¨ ImprovementsThis release contains internal SDK improvements with no user-facing component changes.Internal Changes:
- Error standardization
- HTTP retry logic
- Locale support improvements
2025-09-04
π New features
- Added cardholder name toggle option for card form customization
- Cardholder name display toggle
- Fixed toggle implementation in primer-sdk-web
2025-08-20
β¨ Improvements
- Removed unnecessary peer dependencies and extended React version compatibility
2025-07-24
π§ Fixes
- Removed native
:focus-withinCSS selector and implemented alternative focus handling for Firefox compatibility
2025-07-08
π§ FixesFixed vault manager initialization preventing unnecessary API calls when vault is disabled. Components now handle missing customer ID gracefully.Changes:
- Lazy vault initialization (only when
vault.enabledis true) - Eliminated unnecessary API calls when vault disabled
- Graceful handling of missing customer ID
2025-07-07
π New featuresPayment Method Container enables declarative payment layouts using Documentation:
include and exclude attributes, eliminating verbose event listener code.Key Features:- Declarative filtering with HTML attributes
- Automatic updates when payment methods change
- Backward compatible with existing implementations
2025-06-20
β¨ Improvements
- Extended Payment type definitions to include
DLOCAL_PIX,ALMA, andPAY_NL_RIVERTY
2025-06-12
π New featuresComplete vault component redesign with new control system for disabling payment methods globally or individually.Vault Component:
- Visual overhaul with improved responsive layout
- Custom empty state slot:
<div slot="vault-empty-state"> - Control empty state visibility:
vault.showEmptyState: false - Enhanced accessibility
- Individual method disabling:
<primer-card-form disabled></primer-card-form> - Global disabling:
disabledPayments: truein SDK options - Consistent disabled styling across all methods
2025-05-19
π New featuresIntroduced type-safe
PrimerJS class replacing direct SDK access:refreshSession()- Refresh client sessiongetPaymentMethods()- Retrieve available methodsonPaymentStart- Payment initiation callbackonPaymentPrepare- Intercept payment creationonPaymentComplete- Unified payment result callback
2025-05-02
β¨ Improvements
- Improved icon display and alignment for card network selection
2025-05-02
π§ Fixes
- Fixed icon display next to card number input
2025-05-01
π New features
- Added
hide-labelsproperty to card form - Introduced
primer-oncheckout-completeandprimer-oncheckout-failureevents
2025-04-30
β¨ Improvements
- Enhanced vault component functionality
- Improved transitions
- Fixed custom style application
2025-04-15
π New features
- Introduced experimental Stripe ACH UI and configuration support
2025-04-15
β¨ Improvements
- Moved style injection logic into components for better reinitialization and stability
2025-04-10
β¨ Improvements
- Optimized NPM builds with improved bundling
- Faster loading
- Reduced CDN dependency
2025-04-10
π§ Fixes
- Fixed Safari styling issues by switching from Inter font to system fonts
2025-04-10
π New featuresIntroduced standalone vaulting component, Klarna integration, and significant UX improvements.Key Features:
- Klarna payment method with collapsible design
- Standalone vault component supporting all backend payment methods
- Enhanced error validation (triggers on blur instead of submit)
- Improved styling system with JavaScript-injected CSS tokens
- CSS-only loader with merchant customization support
2025-03-11
π§ Fixes
- Fixed TypeScript type bundling
- Apple Pay/Google Pay button height adjustments
2025-03-07
π New featuresFirst public beta introducing card form, Apple Pay, Google Pay, PayPal (beta), localization support, and comprehensive styling API.Core Components:
<primer-checkout>- Main container and SDK initialization<primer-card-form>- Card input with validation<primer-payment-method>- Payment method renderer- Card input components: number, expiry, CVV, cardholder name
- Form helpers: button, input, label, error, wrapper
2025-03-01
β¨ Improvements
- Initial NPM package setup and name reservation