Skip to content

Installation

  • An ifthenpay contract. ifthenpay sends you a key per payment method: MB KEY (Multibanco dynamic references), MBWAY KEY, PAYSHOP KEY and CCARD KEY (cards). Ask ifthenpay for the BACKOFFICE KEY too if you want refunds from CS-Cart, the payment list read-back and one-click callback activation.
  • For a test, ask ifthenpay for sandbox keys (the card sandbox needs its own CCARD key).
  • Euro: if your store’s primary currency is not EUR, add EUR under Settings > Currencies with a correct rate.
  • A cron job for the add-on’s queue (see Configuration).
  1. Go to Add-ons > Manage add-ons, click the upload button (+) and upload kv_ifthenpay_payments-<version>.zip.
  2. Install ifthenpay Payments and open its settings. Enter your Kavio Labs licence key in the License tab.
  3. Open the add-on’s Connection page (Orders > ifthenpay payments > Connection, or the button in the settings).
  4. Choose Test (sandbox), enter the keys you have and click Save and test. The MB KEY and the BACKOFFICE KEY are checked with ifthenpay; MB WAY, Payshop and card keys have no test call at ifthenpay and are only saved.
  5. Under Callback (payment confirmation):
    • with a BACKOFFICE KEY, click Activate callbacks at ifthenpay;
    • without it, send the shown callback URLs and the anti-phishing key to ifthenpay support and ask them to activate the callback.
  6. Go to Administration > Payment methods, add a payment method per method you use and choose the processor ifthenpay: Multibanco, ifthenpay: MB WAY, ifthenpay: Payshop or ifthenpay: Credit card. Set the days to pay for Multibanco and Payshop.
  7. Place a test order with each method. When everything works, switch the Connection page to Live (and enter the live keys if they differ).

Upload the new zip over the installed add-on (Add-ons > Manage add-ons > upload). Your keys, payments, references and settings stay. The add-on finishes its own update on the next admin page load.

Uninstalling keeps the ifthenpay payments, open references, refunds, queued jobs, the connection and the settings by default, and disables the four payment methods (they are linked again when you install the add-on again). This way a Multibanco or Payshop reference paid later is still recognised and older orders can still be refunded.

To delete everything for good, tick Permanently delete all payment records on uninstall in the add-on settings first, then uninstall. Wait until open references are paid or expired before you do that.