← All plugins
IČO Autofill JS Widget (embed)
One script tag + init, fill fields in any checkout or form.
Price
From €39 / site. After payment you’ll be redirected to confirmation.
Download ZIP (manual)
Note: Stripe checkout requires server env vars (STRIPE_SECRET_KEY + Price ID). Po zaplatení ti príde email s licenciou a bezpečným download linkom.
Installation
- Insert the script tag: <script src="https://bizagent.sk/autofill-widget.js"></script>
- Add an IČO input field (e.g. id billing_ico).
- Initialize mapping via IcoAutofill.init({ icoInputId, targetFields, debug }).
- Test with a real IČO and verify company/address fills mapped fields.
- If your UI is dynamic (SPA), call init after fields render.
Troubleshooting
- IcoAutofill is undefined → check script loading (network + CSP).
- Fields not filling → verify `icoInputId` and `targetFields` match existing element IDs.
- Controlled inputs block updates → ensure your framework reacts to programmatic value changes.
- ORSR proxy error → show an error and fall back to manual input.
Security
- Widget sends only IČO. Company data returns as JSON from the proxy endpoint.
- Disable debug in production.
- If you use CSP, allow loading the script from bizagent.sk (or self-host per license).
FAQ
Does it work in React/Next/Vue SPAs?
Yes—just run init after your fields are rendered (especially on route changes).
Can I self-host it?
Paid package includes a ZIP version. Depending on the license you can host your own copy.
How do I add custom fields?
Add them to the `targetFields` mapping (ID → field name).