Skip to content

PayTR Payments (iFrame, Installments, Link) changelog

All notable changes to PayTR Payments (iFrame, Installments, Link) (kv_paytr_payments) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Compatibility: CS-Cart and Multi-Vendor 4.22.x
  • License verification works on servers without the PHP sodium extension (common on shared and cPanel hosting). Before, the signed answer of the license server could not be checked there, so the add-on entered the 14-day grace period and then switched its features off. The add-on now checks the signature with its own built-in Ed25519 code when the extension is missing.
  • License check. Enter your license key (or CS-Cart Marketplace license number) on the new License tab of the settings. The add-on verifies it with cs-cart.kaviolabs.com when the key is saved and then once a day, only from the admin panel or cron, never on storefront requests. The license covers the domain entered at purchase and all its subdomains; local development hosts are always allowed.
  • License card at the top of the add-on page (status in color, licensed domain, result per storefront, last and next check, end of the updates period, what switches off) with Check now, a license badge in Add-ons → Manage add-ons, a status bar on the add-on’s own admin pages, and a cron entry point.
  • Without a valid license for the store’s domain, the PayTR payment methods are no longer offered at checkout and the product page installment table is hidden and the admin panel shows a notice. Payments that have already started still complete, and notifications (callbacks), refunds, payment links and marketplace transfers of existing orders keep working. New installations and upgrades from 1.0.x work for 14 days before a key is required, and if the license server cannot be reached the add-on keeps working for 14 days.
  • The installment rate cache no longer writes to CS-Cart storage data while the full page cache of CS-Cart 4.21 is on, which would have cleared the whole page cache.
  • Compatible with CS-Cart and Multi-Vendor 4.21 and PHP 8.3: tested on Multi-Vendor 4.21.2 with PHP 8.3 and the new Nova theme. The add-on now declares the supported range 4.17.2 – 4.21.x.
  • In-place upgrades now complete themselves. After the add-on files are replaced (uploading the new zip over the installed add-on in Add-ons → Manage add-ons, copying the files by FTP, or installing an Upgrade Center package), the next admin page view adds any missing tables, columns, settings, language variables and e-mail templates, and updates the stored add-on version and icon flag. Existing data and setting values are kept. A hidden schema_version setting records the last applied version.
  • While the add-on was disabled, saving or refreshing its settings, or uploading a new version over it, stopped with a “Class not found” error. That could leave the settings only partly rebuilt. CS-Cart loads the add-on functions for a disabled add-on without its classes; the add-on now registers them itself.
  • The add-on icon was not shown in the admin panel: addon.xml now declares has_icon.
  • Unused language files from the package.
  • Guest checkout could end on a “page not found” instead of the Direct API card form (and, less often, the iFrame payment page). The page was authorised only by data written to the session at checkout, and a checkout request of the same visitor still running (e.g. an address update fired while typing) could overwrite it. The checkout redirect now carries a key bound to the visitor’s session (HMAC with the merchant credentials), the card form fields are rebuilt from the order when the session lost them, and a valid key restores the guest’s access to the order for the return to the store. The key is useless in another session, and it never opens another order.
  • Add-on icon in the admin add-on list.
  • Payment processor “PayTR iFrame”: iFrame API checkout with paytr_token signing, base64 JSON basket, no_installment / max_installment, TL / USD / EUR / GBP / RUB with conversion from the store currencies, test mode, debug_on, payment time limit, payment page language and an order reference prefix.
  • Payment processor “PayTR Direct API (card form)”: card form posted straight to PayTR, BIN lookup and installment plans per card program, installment fee paid by the customer or the store, client-side card validation.
  • Payment notification (Bildirim URL) handler shared by both processors: HMAC hash verification, exactly-once processing of repeated notifications, configurable statuses for successful, failed, pending and refunded payments, protection against late failures overriding a paid order, clean OK answer.
  • Customer return handling with iframe break-out, a short wait for the notification and a status inquiry fallback.
  • Full and partial refunds from the admin order page through the Refund API, with history.
  • Pay-by-link (Link API) for admin-created and phone orders: create, send by e-mail or SMS, delete; link payments mark the order paid and can be refunded.
  • Installment table on product pages and an installment hint at checkout, from the installment rates service, cached for 24 hours.
  • Multi-Vendor: PayTR Marketplace platform transfers of the vendor share (order total minus commission) to the vendor IBAN, queued at a configurable status, sent by cron or manually, completed by the transfer result notification and recorded as a vendor withdrawal; vendor bank account with IBAN validation and masking.
  • Orders → PayTR transactions log with a vendor transfers tab.
  • Setup overview in the add-on settings (notification URL, credentials check, rates refresh) and a development endpoint override (KV_PAYTR_API_BASE_URL) with an admin warning.