Skip to content

ifthenpay Payments changelog

All notable changes to ifthenpay Payments (kv_ifthenpay_payments) are documented here. The format follows Keep a Changelog and the project uses Semantic Versioning.

  • Four ifthenpay payment methods, each its own CS-Cart processor: Multibanco (dynamic references: entity, reference, amount, pay-by date from the same day up to 730 days or no expiry), MB WAY (phone number at checkout, request sent to the MB WAY app, waiting page with a 4-minute timer that continues by itself), Payshop (13-digit reference with an optional pay-by date) and credit card (ifthenpay card page, signed return).
  • The Multibanco / Payshop reference is shown on the order complete page, on the customer’s order page and at the top of the customer’s order e-mails; the order waits in a pending status you choose (default Open).
  • Payment confirmation by the ifthenpay callback, checked with the account’s anti-phishing key (constant-time), the order id, the request id / entity / reference and the amount; wrong key, unknown payment and mismatches are refused, a repeated callback changes nothing. MB WAY notifications are verified with the documented HMAC-SHA256 signature and the status is read back.
  • Lost callbacks are covered by a spaced-out read-back (Multibanco reference list, MB WAY status, payment list with the BACKOFFICE KEY); unpaid references expire after their date plus grace days (read back once more first) and move the order to the status you choose; a payment that still arrives later books the order.
  • A paid amount that differs from the payment request, a second paid attempt and an order edited while the payment was pending are flagged and never move the order; pending statuses are never cancelled; the MB WAY / card return while the payment is pending empties the cart (saved cart rows too). Callback, return, poll, cron and the admin button run under one per-payment lock.
  • Refunds of MB WAY and card payments (full or partial) from the order page or at a chosen order status (BACKOFFICE KEY); the refund row is stored before the call, a lost answer is never re-sent automatically (the admin confirms or drops it after checking the ifthenpay backoffice), a double click refunds once.
  • Euro only, as ifthenpay charges: stores with another main currency convert with their own EUR rate; without EUR the methods are hidden.
  • Connection page with the method keys and the BACKOFFICE KEY stored encrypted, test mode on the documented sandbox endpoints, a connection test on side-effect free endpoints, the anti-phishing key and one-click callback activation; job queue with retries and a log with keys and personal data masked.
  • Multi-Vendor: marketplace owner mode (a cart with several vendors gets one reference on the parent order; child orders refund their share; vendors cannot refund, re-read or touch the queue: the endpoints refuse, not only the buttons) and per-vendor accounts. Retention-safe uninstall (payment records, references and the connection are kept unless you tick the purge setting), licence client (fails closed) and Upgrade Synchronizer.
  • Built against the official ifthenpay API documentation and tested against a mock of it; not tested with a live ifthenpay account.