v0.1.0-beta.1
Pre-release0.1.0-beta.1
First merchant beta of Overflow Payment Elements. This cut ends the
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 this
sdkVersion(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(previouslyexpiryDateand
cvc). Update any error-routing that keyed on the old strings. - Reserved split-card identifiers (
cardNumber,cardExpiry,cardCvc,
cardPostalCode) are no longer part of the creatableElementType
union. 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
overflow-element--shadow-*theme classes (as well as
size classes and--overflow-*CSS variables) so remounts do not keep
stale shadow chrome. - Checkbox Escape handling stays attached after a runtime
modeupdate
(inline↔stacked).
Docs / keys
- Publishable key examples use
live_pub_...(production) and
test_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→cardExpirationand
cvc→cardSecurityCodeinonError/fieldErrorshandlers. - Split-card
ElementTypemembers — remove any
create('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 secondnew Overflow(...), calldestroy()first or expect
a console warning and the original instance.
Install / upgrade
- CDN (floating):
https://cdn.overflow.co/sdk/v1/payment-elements.js - CDN (pinned):
https://cdn.overflow.co/sdk/v1/0.1.0-beta.1/payment-elements.js - npm (after sync):
npm install @getoverflow/payment-elements@0.1.0-beta.1
(prerelease dist-tag:next)
If you were on 0.1.0-alpha.*, point at 0.1.0-beta.1 (or the floating
URL) and re-test checkout, card, wallets, and ACH in staging before
promoting traffic.
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 remount the
secured card iframes and clear shopper-entered PAN / CVC. Prefer setting
card options before mount, or remount deliberately after structural
option changes.
Report issues to your Overflow contact.