Settings
Open Add-ons > Manage add-ons > Viva.com Smart Checkout > Settings.
General
Section titled “General”| Setting | Default | Description |
|---|---|---|
| Enable | On | When off, no new work is started. Jobs and webhooks of work that is already under way are still processed. |
| Marketplace owner mode | On | On: every order is processed with the marketplace owner’s account and vendors have no connection page; vendors cannot refund or capture. Off: each vendor connects their own account. |
| Debug log | Off | Also stores every HTTP call with its masked request and response. Secrets and personal data of the payer (e-mail, name, phone, card number) are never stored. |
| Log retention (days) | 90 | Older log entries are removed by the cron run. |
| Order status when a pre-authorization is held | Open | Used by payment methods set to “Pre-authorize, capture later”. |
| Order status when the payment is paid / failed / canceled | P / F / I | The order status set from the payment result. An order is never moved backwards. |
| Accept notifications only from Viva addresses | Off | Viva recommends allowing only its own addresses. Tick it when the store sees the real sender address (no proxy or CDN in front of PHP). Payments are always read back from Viva whatever this says. |
| Refund in full when the order status becomes | empty | A paid order that reaches this status is refunded once. Empty = refund by hand. |
Payment method (Administration > Payment methods > Viva)
Section titled “Payment method (Administration > Payment methods > Viva)”| Field | Description |
|---|---|
| Payment description | Shown to the customer on the Viva payment page before the order number. |
| Payment methods line | A short text shown at checkout, for example “Card, Apple Pay, Google Pay, IRIS”. The methods themselves are switched on in your Viva account. |
| Card installments (up to) | 0 or 1 = none. For Viva accounts registered in Greece: the customer may choose up to this many installments (maximum 36). Not combined with a pre-authorization. |
| Pre-authorize, capture later | Reserves the amount instead of charging it. Capture or cancel on the order page. Needs “Allow recurring payments and pre-auth captures via API” in the Viva app. Bank payments such as IRIS do not support it. |
Connection
Section titled “Connection”Credentials are not ordinary settings: they are entered on the Connection page and stored encrypted (AES-256-GCM, key derived from your store’s own secret). They are never shown again; leave a secret field empty to keep the saved value.
| Field | Description |
|---|---|
| Mode | Test uses the test credentials and the Viva demo environment; Live uses the live credentials. |
| Client ID / Client secret | The Smart Checkout credentials (OAuth2) of the Viva account. |
| Payment source code | The code of the payment source you created for this shop. |
| Merchant ID / API key | Used for refunds and pre-authorization captures (Basic authentication). Without them payments work, refunds do not. |
| Success URL / Failure URL / Notification URL | Read-only addresses to enter in your Viva account (see Installation). |
The queue runs from cron. Use either the command line or the secret web address shown in the Cron section of the settings:
php /path/to/store/admin.php --dispatch=kv_viva_payments.cronhttps://your-store.example/index.php?dispatch=kv_viva_payments.cron&key=<secret>
Log and jobs
Section titled “Log and jobs”- Log lists every call, job and webhook with filters (level, action, text, dates) and a CSV export.
- Jobs lists the queue. A job that fails is retried after 5 minutes, 15 minutes, 1 hour, 3 hours and 12 hours, then marked “Gave up”; use Retry to queue it again.
Multi-Vendor
Section titled “Multi-Vendor”In the vendor panel a vendor sees only their own records. With the marketplace owner mode off the vendor also gets the Connection tab for their own account. With it on, vendors can look at payments and re-read their status, but refunds, captures and cancellations are refused by the server.
Uninstall and data
Section titled “Uninstall and data”Uninstalling keeps the payment records, refunds, the connection and the settings unless Permanently delete all payment records on uninstall is ticked before you uninstall. See Installation.