Developer Documentation
Developer Documentation

Embedded Checkout

An embedded checkout allows the Zip checkout to be hosted within an iframe on the merchant’s web site, rather than being redirected to PartPay. This is a similar concept to the lightbox checkout.

iframe src attribute

After creating an order via the create order endpoint, append &embedded=true to the redirectUrl property and set the src attribute of the iframe to the url

Example iframe element:

<iframe src="" style="width:600px;height:700px"></iframe>

NB: You will have to detect changes to the src attribute to detect when the checkout process has been completed.