Installation and setup
Requirements
Section titled “Requirements”- CS-Cart and Multi-Vendor 4.17.2 or later.
- Administrator access to the store’s admin panel.
- A Yoco account with the Checkout API integration (Yoco app, Checkout API integration, “How to connect”). The test keys are available at once; the live keys unlock after you verify your store’s domain under “Verified Domains” in the Yoco app.
- A ZAR currency in the store (Administration > Currencies) or ZAR as the main currency.
- A public HTTPS address: Yoco only sends webhooks to HTTPS.
- A cron job on your server (see step 6).
Install the add-on
Section titled “Install the add-on”- Download the
kv_yoco_payments-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find Yoco Payments in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect Yoco
Section titled “Connect Yoco”- Open Orders > Yoco (the add-on page) and the Connection tab, or Add-ons > Manage add-ons > Yoco Payments > Settings and click Connection.
- Choose Test mode and enter your Yoco test secret key (it starts with
sk_test_). Save and click Test connection: a green message means the key works. - Click Register webhook. The add-on registers its address at Yoco for the saved mode and stores the secret Yoco returns (it is shown once, so the add-on keeps it for you, encrypted). Registering again replaces only this store’s own webhook; other webhooks of your account are not touched.
- Switch to Live mode and enter the live secret key (
sk_live_) only after a successful test; save, register the live webhook and test again. - Open Administration > Payment methods, add a method, choose the processor Yoco and activate it.
- Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on). Switch it off to let each vendor connect their own Yoco account in the vendor panel (Connection tab).
Update
Section titled “Update”- Upload the new package the same way. Your settings, credentials and data are kept.
- The add-on adds missing tables and settings by itself on the first request after the update.
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. By default the payment and refund records, the queued jobs, the connection (stored credentials) and the settings, licence key included, are kept, so you can still refund older orders after installing the add-on again; your payment methods that used Yoco are switched off and linked again when you install the add-on. The log is removed. To delete everything for good, install the add-on, switch on Permanently delete all payment records on uninstall in the settings and uninstall again. Finish open refunds first.
Uninstalling is not the way to update: upload the new package over the installed add-on.