247
Orders Synced
+12 today
1,842
Stock Updates
+132 today
89
Partners
+3 this week
0
Sync Errors
All clear
Recent Activity
14:32:18Order #1284 synced to VASCO → NK-00412
14:31:55Invoice generated for order #1284
14:28:03Stock sync completed — 48 products updated
14:15:47Partner created: JANEZ NOVAK (sifra: 10482)
14:12:22Order #1283 synced to VASCO → NK-00411
13:58:11Cron stock sync triggered (hourly)
13:45:09Product SKU 00142 — EAN not found, skipped
13:30:00Order #1282 synced to VASCO → NK-00410
Payment Method Mapping
WooCommerce → VASCO payment IDs
| WooCommerce Method | VASCO ID | Status |
|---|---|---|
| Credit Card (Bankart) | 6 | Active |
| Bank Transfer (BACS) | 3 | Active |
| Cash on Delivery | 4 | Active |
| NestPay | 9 | Active |
| Leanpay | 8 | Active |
| Summit | 10 | New |
Production API
kiwwwi_vasco_api_settings — Connect to your live VASCO instance
Endpoint: /api/v1/Avtentikacija
Demo API
kiwwwi_demo_vasco_settings — Sandbox environment for testing
Sync Schedule
kiwwwi_vasco_stock_sync_frequency — Configure automatic stock synchronization
Cron event: kiwwwi_vasco_hourly_event
Custom Inventory Fields
Added to WooCommerce product inventory tab
| Meta Key | Label | Source | VASCO Field |
|---|---|---|---|
| zaloga_pri_dobavitelju | Zaloga pri dobavitelju | VASCO API | PROSTO_C9 |
| nasa_zaloga | Naša zaloga | VASCO API | zaloga (from /FASifranti/zaloga) |
| _stock | WooCommerce Stock | Calculated | supplier + internal |
| _alg_ean | EAN Code | Product | Primary identifier (Sifra) |
Email Blacklist
kiwwwi_vasco_email_blacklist — Orders from these emails will NOT sync to VASCO
Comma-separated list. Orders placed by these email addresses are blocked from syncing to VASCO.
Currently Blocked
| Orders Blocked | Last Attempt | Actions | |
|---|---|---|---|
| test@example.com | 7 | 2026-03-24 13:41 | |
| spam@domain.com | 3 | 2026-03-22 09:15 | |
| noreply@bot.si | 12 | 2026-03-24 11:08 | |
| internal@company.si | 1 | 2026-03-20 16:33 |
Order Sync
Hooks: woocommerce_order_status_completed, _processing, _on-hold
| WC Order | Customer | Total | Payment | VASCO Number | Status | Synced |
|---|---|---|---|---|---|---|
| #1284 | Maja Horvat | €142.50 | Card | NK-00412 | Synced | 14:32:18 |
| #1283 | Luka Kovač | €89.90 | Leanpay | NK-00411 | Synced | 14:12:22 |
| #1282 | Ana Novak | €234.00 | BACS | NK-00410 | Synced | 13:30:00 |
| #1281 | Tomaž Krajnc | €45.00 | COD | NK-00409 | Synced | 12:55:41 |
| #1280 | test@example.com | €19.90 | Card | — | Blacklisted | — |
Order Payload Structure
Data sent to POST /api/v1/FA/narociloKupca
{
"datum": "2026-03-24",
"rok": "2026-04-08",
"partner": 10482,
"opombe": "WC Order #1284",
"postavke": [
{
"artikel": "3856123456789",
"naziv": "Premium Wireless Headphones",
"kolicina": 1,
"cena": 116.80,
"popust": 0,
"stopnjaDDV": 0
},
{
"artikel": "00086",
"naziv": "Poštnina",
"kolicina": 1,
"cena": 4.10,
"stopnjaDDV": 0
}
],
"dodatnaPolja": {
"SIFRA_PLACILA": 6,
"NAROCILO_STEVILKA": "1284"
}
}
Push Products to VASCO
POST/PUT to /api/v1/FASifranti/artikel — Auto-retries with PUT if product exists
| ID | Product | SKU | EAN | Price | Last Push | Status | Action |
|---|
Product Payload Structure
Data sent to /api/v1/FASifranti/artikel
{
"sifra": "3856123456789",
"naziv": "Premium Wireless Headphones - Black Ed",
"naziv2": "ition with Noise Cancelling",
"enota": "KOS",
"grupa": "005",
"stopnjaDDV": 0,
"prodajnaCena": 116.80,
"karticaArtikla": 1,
"dodatnaPolja": {
"PROSTO_C5": "https://shop.si/product/headphones",
"PROSTO_C1": "3856123456789"
}
}
Partner Management
GET/POST /api/v1/SkupniSifranti/partner — Lookup by VAT or email, auto-create if missing
Click "Simulate Lookup" to test
Partner Payload Structure
{
"sifra": 0,
"naziv": "MAJA HORVAT",
"naslov": "Prešernova 12",
"posta": "1000 Ljubljana",
"drzava": 705,
"davcna": "SI98765432",
"davcniZavezanec": true,
"telefon": "+386 41 123 456",
"email": "maja.horvat@gmail.com",
"tipStevilcenja": 1,
"dodatnaPolja": {
"SIFRA_V_GK": ""
}
}
Sync Logs
File: /logs/{YYYY}/{MM}/{YYYY-MM-DD}.log — AJAX: kiwwwi_get_sync_log
[2026-03-24 08:00:01]Cron stock sync started (hourly)
[2026-03-24 08:00:03]Authenticating with VASCO API...
[2026-03-24 08:00:04]Authentication successful — apiKey received
[2026-03-24 08:00:05]Fetching products from /api/v1/FASifranti/artikel...
[2026-03-24 08:00:08]Retrieved 48 products from VASCO
[2026-03-24 08:00:09]Fetching stock from /api/v1/FASifranti/zaloga...
[2026-03-24 08:00:12]Stock data received — processing 48 items
[2026-03-24 08:00:13]Updated: EAN 3856001234567 — stock: 24 (supplier: 12, internal: 12)
[2026-03-24 08:00:13]Updated: EAN 3856009876543 — stock: 8 (supplier: 3, internal: 5)
[2026-03-24 08:00:14]Skipped: SKU 00142 — no EAN code found
[2026-03-24 08:00:15]Stock sync completed — 47/48 products updated, 1 skipped
[2026-03-24 09:15:22]Order #1280 — checking blacklist...
[2026-03-24 09:15:22]Order #1280 — BLOCKED: test@example.com is blacklisted
[2026-03-24 12:55:40]Order #1281 — status changed to processing
[2026-03-24 12:55:41]Order #1281 synced → VASCO NK-00409 (partner: 10480, payment: COD/4)
[2026-03-24 13:30:00]Order #1282 synced → VASCO NK-00410 (partner: 10481, payment: BACS/3)
[2026-03-24 14:12:22]Order #1283 synced → VASCO NK-00411 (partner: 10479, payment: Leanpay/8)
[2026-03-24 14:15:47]Partner lookup: maja.horvat@gmail.com — not found by VAT
[2026-03-24 14:15:47]Partner created: MAJA HORVAT (sifra: 10482)
[2026-03-24 14:32:18]Order #1284 synced → VASCO NK-00412 (partner: 10482, payment: Card/6)
API Tester
Test any VASCO API endpoint (simulated responses)
Response
Response will appear here...