Application mode
In application mode, the widget goes beyond the requirement lookup: your visitors complete their whole visa application on your page, in three steps.
- Lookup — nationality and destination, as in the standard widget.
- Document choice — the travel documents Visamundi offers for that destination, with their fees.
- Application form and payment — the Visamundi form, secure card payment included.
Steps 2 and 3 open in a full-screen modal on top of your page. The Apply now button only appears for destinations open to online application; elsewhere the widget behaves as usual.
Installation
Section titled “Installation”<div data-visamundi-widget data-mode="apply" data-language="fr" data-partner-id="YOUR_PARTNER_ID"></div><script src="https://requirements.visamundi.app/widget.js" defer></script>All the configuration options still
apply. Use data-mode="apply-direct" to skip the lookup and frame the form
inline (its height follows the content).
Attribution
Section titled “Attribution”Your data-partner-id travels with the traveller through every step and is
stored on the application, discount included where your agreement provides
one. Browsers block third-party cookies in an embedded frame, so the partner
id is the only attribution channel in this mode: always set it.
Events
Section titled “Events”The widget re-dispatches the form’s progress as bubbling DOM events on its container:
| Event | detail | When |
|---|---|---|
visamundi:step | { path } | The traveller reaches a new step. |
visamundi:resize | { height } | The form’s height changes. |
visamundi:completed | {} | Payment confirmed, confirmation page shown. |
document.addEventListener('visamundi:completed', () => { // e.g. record a conversion in your analytics});Events carry no personal data and no application id.
Requirements
Section titled “Requirements”- Your page must be served over HTTPS: the form refuses to load in a frame on a plain-HTTP page.
- The form asks for camera access (passport photo) and supports wallet payments (Apple Pay, Google Pay): the widget delegates both to its frame.
- The confirmation e-mail and resume links point to Visamundi, so the traveller can come back to their application at any time.