Skip to content

Settings

Open Add-ons > Manage add-ons > Tpay Payments > Settings.

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. Off: each vendor connects their own account.
Debug log Off Also stores every HTTP call with masked request and response. Secrets are never stored.
Log retention (days) 90 Older log entries are removed by the cron run.
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.
Refund in full when the order status becomes empty A paid order that reaches this status is refunded once. Empty = refund by hand.

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 sandbox (openapi.sandbox.tpay.com) with the test credentials; Live uses api.tpay.com with the live credentials.
OpenAPI client ID / client secret An Open API key of the Tpay merchant panel (Integration > API > Open API Keys > Add new key). The secret is shown only once when the key is created.
Security code The merchant security code (Notifications > Security tab); it is part of the md5sum of every notification. Leave it empty only if you did not set one in the panel.
Merchant ID The number Tpay sends as id in every notification. Required: notifications of another merchant are rejected.

Payment method (Administration > Payment methods)

Section titled “Payment method (Administration > Payment methods)”
Field Description
Payment description Shown on the Tpay payment page and in the transfer title before the order number.
Payment methods offered All methods enabled for the account (the customer chooses on the Tpay page), BLIK only (group 150), or one payment group by its ID (a bank group from the Tpay bank groups list). Create one CS-Cart payment method per choice to show them separately.
Payment group ID Only for “One payment group”.

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_tpay.cron
  • https://your-store.example/index.php?dispatch=kv_tpay.cron&key=<secret>
  • 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.

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.

Refunds leave the account that collected the payment: with the marketplace owner mode on, only the store administrator can refund; a vendor can refund only their own orders, paid to their own Tpay account (owner mode off).