Skip to content

ifthenpay Payments

Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.0 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.22.x, PHP 7.4 – 8.3 · Changelog: view

Accept the payment methods Portuguese shoppers use every day, through your ifthenpay contract, on CS-Cart and Multi-Vendor: Multibanco references, MB WAY, Payshop and card payments, confirmed by the ifthenpay callback.

  • Multibanco: a dynamic reference (entity, reference, amount, optional expiry) is created when the order is placed. The customer sees it on the order page, in the order page of their account and in the order e-mail, and pays at any Multibanco ATM or in home banking.
  • MB WAY: the customer enters the MB WAY mobile number at checkout and approves the payment in the MB WAY app. A waiting page with a 4-minute timer moves on by itself when the payment is approved, rejected or expired.
  • Payshop: a 13-digit reference to pay at a Payshop agent or a CTT post office, with an optional pay-by date.
  • Card: the customer pays on the ifthenpay card page and comes back to the store; the signed return is checked.
  • The order is marked paid only when ifthenpay confirms the payment: the callback with your anti-phishing key, the MB WAY status, the signed card return or a read-back from ifthenpay. The amount is compared with the payment request and with the current order total.
  • Unpaid references expire on their date (plus grace days you choose); the order then gets the status you choose. A payment that still arrives later books the order.
  • Refunds of MB WAY and card payments from the order page (full or partial) or automatically at an order status (needs the BACKOFFICE KEY). Multibanco and Payshop are refunded by you, as ifthenpay offers no refund for them.
  • Keys stored encrypted, test mode on the documented ifthenpay sandbox endpoints, a “Test connection” button, one-click callback activation, a job queue with retries and a log.
  • Multi-Vendor: marketplace owner mode (one ifthenpay contract for the whole marketplace; a cart with several vendors gets one reference for the whole purchase) or one contract per vendor.
  • An ifthenpay contract with the keys of the methods you want (MB KEY, MBWAY KEY, PAYSHOP KEY, CCARD KEY) and, for refunds and automatic callback activation, the BACKOFFICE KEY.
  • Euro prices: ifthenpay charges in euros only. If your store’s primary currency is not EUR, add EUR as a currency: the add-on converts the order total with your store’s EUR rate. Without EUR the methods are hidden at checkout.
  • CS-Cart and Multi-Vendor 4.17.2 to 4.22.x, all editions (CS-Cart, CS-Cart Ultimate, Multi-Vendor, Multi-Vendor Ultimate).
  • PHP 7.4 to 8.3, depending on your CS-Cart version.
  • The queue needs a cron job (a command line or a secret web address; see Configuration).

ifthenpay, Multibanco, MB WAY and Payshop are trademarks of their respective owners; this add-on is not affiliated with or endorsed by them.