v1.20.1 - A Vue checkout created inline now starts instead of being refused by the API #
An inline checkout in @flopay/vue (one given a createSession function) now sends a checkoutLayout value the Flopay API accepts, so its session is created and the checkout loads for both the default and the buttons layout. Before this release the API refused the first create request with a 400 error and the buyer saw a validation message instead of a checkout.
26 Nov 2026
A Vue checkout created inline now starts. Before this release the Flopay API refused its first create request, nothing was created, and the buyer saw a validation message in place of the checkout.
What changed
- The create request now uses values the API accepts.
@flopay/vuesent the component'slayoutprop (defaultorbuttons) ascheckoutLayout. The API accepts onlydefault_layout,buttons_layoutorcustom_layout, so the request was refused with a 400 error. The Vue checkout now sends the accepted value for the layout you chose. - Same values as React. For the same layout,
@flopay/vueand@flopay/reactnow send the samecheckoutLayout. A Vue checkout with a filledlayoutslot sendscustom_layout, as React does with custom layout content. - Existing sessions are unchanged. A Vue checkout that mounts an existing session with
sessionIdandnoncesends no create request and behaves as before.
Integration notes
- No code change is needed. Upgrade
@flopay/vueto get a working inline checkout. - If you adopted
@flopay/vuewith an inlinecreateSessionand the checkout showed acheckoutLayout must be one of the following valuesmessage, upgrading resolves it.