Skip to main content
Recommended integration per platform:
  • Desktop web — embed via the React SDK or an iframe.
  • Mobile web — redirect to the Augustus-hosted checkout.
  • Mobile native — open the Augustus-hosted checkout in the user’s default browser; return via deep linking.

Backend setup

Create a server-side endpoint that initiates a Checkout Session and returns the redirectUrl to your frontend.
server/routes/checkout.ts

Desktop web

Use the React SDK to embed the checkout in your page.
  • Embedded iframe: append &iframe=true to the checkout URL.
  • Modal iframe: append &popup=true to the checkout URL.
The API doesn’t include these parameters — you set them at render time. The React SDK does this automatically.

React SDK

1

Install the SDK

2

Create the checkout component

components/IvyCheckout.tsx
The React SDK automatically appends &iframe=true when using embedded mode.
3

Add styling

styles/ivy-checkout.css

Plain HTML (without the SDK)

If you can’t use React, render the iframe directly. The iframe communicates with your page via postMessage.
checkout.html
The iframe sends a postMessage with the following fields:
The iframe sandbox attributes are required:
  • allow-scripts — required for the checkout to function.
  • allow-same-origin — enables secure communication.
  • allow-forms — required for payment form input.
  • allow-popups, allow-popups-to-escape-sandbox — required for bank redirects.
  • allow-top-navigation — required for completion redirects.
  • allow="clipboard-write" — required for copy-to-clipboard buttons.

Mobile web

On mobile, redirect to the Augustus-hosted checkout. An iframe breaks the flow when the customer moves to and from their banking app.
Make sure the successCallbackUrl and errorCallbackUrl you pass to the Checkout Session point to pages on your site where the user lands after the bank flow completes.

Mobile native

Open the checkout in the user’s default browser. Do not use a WebView — it breaks bank authentication, deep linking, SSL, and session handling.

Open the checkout

Deep linking back to your app

Configure deep linking so the user returns to your app after payment:
Configure your app’s deep-linking scheme so the Augustus return URLs open your app.