First merchant beta of Overflow Payment Elements. This cut ends the
Changes since
Highlights from the alpha train that land in this beta, plus beta-readiness
API cleanups:
0.1.0-alpha.* series and opens the beta channel (alpha → beta →
GA). Prefer this pin (or the floating CDN URL) over any alpha.Public docs and release notes also appear at
docs.overflow.co/payment-elements
and
docs.overflow.co/changelog/overflow-payment-elements.What’s included
- Checkout and standalone elements: email, full name, phone, company name, billing and shipping address, card, bank (ACH / Plaid), Apple Pay, Google Pay, submit button, and custom fields (text, number, select, checkbox)
- Theming via
appearance(size / shadow presets and CSS variables), including runtimeoverflow.update({ appearance }) - Wallets with live transaction updates and optional contact / shipping requirements where configured
- Pinned CDN URLs for SRI (
/sdk/v1/<version>/payment-elements.js) plus the floating/sdk/v1/payment-elements.jschannel - npm loader
@getoverflow/payment-elementsin lockstep with thissdkVersion(types + CDN pin)
Changes since 0.1.0-alpha.*
Highlights from the alpha train that land in this beta, plus beta-readiness
API cleanups:Card
- Optional
fields.cardSecurityCode.hiddenfor MOTO / virtual-terminal flows (skips CVC UI and validation when hidden). Online checkout should keep the default (false). - Card validation
FieldError.fieldvalues now match config keys:cardExpirationandcardSecurityCode(previouslyexpiryDateandcvc). Update any error-routing that keyed on the old strings. - Reserved split-card identifiers (
cardNumber,cardExpiry,cardCvc,cardPostalCode) are no longer part of the creatableElementTypeunion. Configure card inputs throughoverflow.card({ fields }).
Host / lifecycle
Overflowis a page-level singleton: a secondnew Overflow(...)returns the existing instance, logs aconsole.warn, and ignores the new key and options. Calloverflow.destroy()before constructing again when you need a fresh instance.- Unmount clears theme state (size, shadows, CSS variables) so remounts do not keep stale chrome.
Docs / keys
- Publishable key examples use
live_pub_...(production) andtest_pub_...(test / staging). - Curated per-version release notes ship with each
sdkVersionbump and sync to the public changelog.
Breaking changes for alpha integrators
If you pinned an alpha and are moving to beta:- Card field error keys — map
expiryDate→cardExpirationandcvc→cardSecurityCodeinonError/fieldErrorshandlers. - Split-card
ElementTypemembers — remove anycreate('cardNumber')(and peers); they were never creatable at runtime and are now absent from TypeScript as well. - Singleton re-construct — if hot reload or key swap relied on a
silent second
new Overflow(...), calldestroy()first or expect a console warning and the original instance.
Beta expectations
APIs may still change before GA (0.1.0). Pin explicitly if you need a
stable hash + SRI, or use the floating URL and plan a short retest when
GA ships.Known limitation: some card.update(...) option changes can reset the
card fields and clear shopper-entered data. Prefer setting card options
before mount, or remount deliberately after structural option changes.Report issues to your Overflow contact.GitHub releasePublic changelog for Payment Elements releases. No intentional runtime
behavior changes vs
0.1.0-alpha.14.Changes
- Payment Elements release notes now publish to the Overflow docs changelog at docs.overflow.co/payment-elements/changelog. Each SDK release appears there after the matching npm / GitHub Release ships.
- Bundle and public API match
0.1.0-alpha.14(including optionalfields.cardSecurityCode.hiddenfor MOTO / virtual-terminal flows).