Widget Attributes
Every data- attribute the vinieta.md widget accepts, with allowed values.
Widgets are configured entirely through data- attributes on the container
<div>. No JavaScript configuration object, no init call.
Available attributes
Section titled “Available attributes”| Attribute | Values | Description |
|---|---|---|
data-iasig-widget |
order | view |
Widget type |
data-product |
vignette:md, vignette:ro, vignette:eu |
Product (for order widget) |
data-lang |
ro | en | ru |
UI language |
data-order-id |
Order ID string | For view widget |
data-bs-theme |
light | dark |
Widget color theme (default: light) |
data-redirect-url |
URL with {orderId} |
Redirect after order creation (order widget) |
data-source-app |
iasig.md | vinieta.md |
Site identifier for payment routing (default: iasig.md) |
data-only-foreign-vehicles |
true |
Show only foreign vehicle options (order widget) |
data-country |
ISO 3166-1 alpha-2, lower-case | Pre-select destination country (vignette:eu only) |
Notes on specific attributes
Section titled “Notes on specific attributes”data-source-app
Section titled “data-source-app”Identifies which site the order came from and routes the payment accordingly.
The default is iasig.md, so on vinieta.md properties you must set:
data-source-app="vinieta.md"Omitting it is the single most common integration mistake — the widget will still render and take payment, but against the wrong merchant account.
data-redirect-url
Section titled “data-redirect-url”Accepts a {orderId} placeholder, replaced with the real order ID at runtime.
Use it to send the buyer to your own confirmation page after the order is
created:
<div data-iasig-widget="order" data-product="vignette:md" data-source-app="vinieta.md" data-redirect-url="/order?order={orderId}"></div>Render that page with the view widget.
data-bs-theme
Section titled “data-bs-theme”Set light or dark to match your page. If your site has a theme toggle, keep
this attribute in sync with it — the widget does not read your CSS or a
prefers-color-scheme media query on its own.
data-only-foreign-vehicles
Section titled “data-only-foreign-vehicles”Set to true to hide the Moldova-registered vehicle option and show only the
foreign-vehicle form. Useful on pages targeted at non-resident drivers.
data-country
Section titled “data-country”vignette:eu only. Pre-selects the destination country and skips the picker
step, showing only offers for that country. Supported values: at, bg, ch,
cz, hu, si, sk.