Manual Installation
Setup
1. Create a container
<div id="payment-container" style="width: 100%; max-width: 440px; height: 600px;"></div>2. Create and mount the iframe
const ORIGIN = 'https://pay.flintn.com';
const container = document.getElementById('payment-container');
const iframe = document.createElement('iframe');
iframe.src = ORIGIN + '/iframe/';
iframe.title = 'Checkout form';
iframe.style.cssText = 'width: 100%; height: 100%; border: none;';
iframe.sandbox = 'allow-scripts allow-forms allow-popups allow-same-origin';
iframe.allow = 'payment *; clipboard-write';
container.appendChild(iframe);3. Send configuration
4. Handle events
Configuration
Option
Type
Required
Default
Description
Events
Outgoing (you → iframe)
Type
Description
Incoming (iframe → you)
Type
Description
Payment Result
Iframe Attributes
Attribute
Value
Why
Cleanup
Troubleshooting
Next Steps
Last updated