v1.20.4 - Runtime checkout preview reports its contract version, and a Vue runtime checkout with reactive options now starts #
The Flopay-hosted runtime checkout preview now records which wrapper contract version each checkout runs under, and the React and Vue preview components declare version 2.0.0. A Vue runtime checkout whose appearance or strings are kept in reactive state now starts instead of never receiving its settings. No action is needed.
26 Nov 2026
Improvement
Checkout
JavaScript SDK
React SDK
Vue SDK
Checkouts that run from the Flopay-hosted runtime preview now say which wrapper contract version they were built for, and a Vue checkout that keeps its options in reactive state now starts correctly. Existing 1.x checkouts are unchanged and no action is needed.
What changed
- Contract version in runtime telemetry. The runtime's
runtime.load,runtime.readyandruntime.failedtelemetry events now carrycontractVersion: the version declared by the wrapper that mounted the checkout. A wrapper that declares none is reported as2.0.0, so existing wrappers keep working. The field identifies a wrapper build, never a buyer or a merchant. - Optional
contractVersionmount option. The runtime's mount options accept an optionalcontractVersion.@flopay/reactand@flopay/vueset it to2.0.0in their runtime checkout components, so you do not need to pass it yourself. - Vue runtime checkout with reactive options. When
appearanceorstringswere kept in Vue reactive state, the browser could not copy them to the checkout frame, so the frame never received its settings. The runtime now sends the frame a plain copy, and the checkout starts as expected.
Integration notes
- No action is needed. Upgrade
@flopay/js,@flopay/reactand@flopay/vuetogether to get these changes in the runtime checkout preview.