Embed Ivy Checkout directly in your website with our iframe and modal integration
Install Dependencies
Create a Checkout Session
&iframe=true
to the checkout URL when rendering in an iframe. The API doesn’t include this parameter by default since it doesn’t know your rendering method.Install Dependencies
Create IvyCheckout Component
&iframe=true
parameter for you when using embedded mode.Add Styling
Iframe Implementation
postMessage
API.
The iframe will send a message to the parent window with the following fields:
"ivy"
"iframe"
"success"
or "error"
checkoutSession
field referenceId
. Can also be used to fetch
a order
with the Retrieve an Order
endpoint.allow-scripts
: Required for Ivy Checkout to function
allow-same-origin
: Enables secure communication
allow-forms
: Required for payment form input
allow-popups
and allow-popups-to-escape-sandbox
: Required for bank redirects
allow-top-navigation
: Required for completion redirects
For customers to be able to copy payment details with a button click we need clipboard access:
allow="clipboard-write"
: Required for Ivy Checkout to copy text into clipboard