Integrations

Payment Gateway Setup

Step by step instructions for connecting Yoco, Paystack, PayFast or iKhokha to your Booklink account, including the PayFast test mode.

Last updated

This article walks through the exact credentials you need from each payment provider and where to find them. You only need to set up one provider. Choose the one that fits your business.

Opening the connect form

Go to Payments in the sidebar. If no gateway is connected yet, the connect form is already open in the Payment Gateway card. If one is connected, click Switch to open it. Select your payment provider under Provider to see the relevant credential fields. Booklink verifies the credentials with the provider when you click Connect (or Switch gateway), so typos are caught immediately.

Payment gateway connect form showing provider selection and credential fields

Setting up Yoco

Yoco has limited availability

Yoco only verifies payments that come from a business's own website address. Payments through Booklink come from app.booklink.co.za, so Yoco may refuse to verify your account for them. Verification is Yoco's decision and is not something Booklink can arrange, and verifying your own website with Yoco does not change it. If Yoco payments already work for you, you can keep using them. If you are setting up for the first time, we recommend Paystack, PayFast or iKhokha.
  1. 1

    Get your Yoco API keys

    Log in to your Yoco Business Portal at portal.yoco.co.za. Navigate to Settings → Developers (or API Keys). Copy your Live Public Key and Live Secret Key.
  2. 2

    Enter the keys in Booklink

    In the Booklink payment setup form, select Yoco as your provider. Paste your Public Key and Secret Key into the respective fields.
  3. 3

    Save and test

    Click Connect. Set a price on a test service, make a booking through your public page, and complete a card payment to verify the integration is working.

Setting up Paystack

  1. 1

    Get your Paystack API keys

    Log in to your Paystack Dashboard at dashboard.paystack.com. Go to Settings → API Keys & Webhooks. Copy your Live Public Key and Live Secret Key.
  2. 2

    Enter the keys in Booklink

    Select Paystack as your provider in the Booklink connect form. Paste your Public Key and Secret Key.
  3. 3

    Add the webhook URL in Paystack

    After connecting, Booklink shows a Paystack webhook card with a unique URL. Copy it and add it in your Paystack dashboard under Settings → API Keys & Webhooks so Booklink receives payment notifications.
  4. 4

    Test

    Make a test booking through your booking page to verify payments flow end to end.

Setting up PayFast

  1. 1

    Get your PayFast credentials

    Log in to your PayFast account at payfast.co.za. Navigate to Settings → Integration. Copy your Merchant ID and Merchant Key, and set a Passphrase if you have not already. Booklink requires a passphrase; PayFast uses it to sign every payment notification so we can trust it.
  2. 2

    Enter credentials in Booklink

    Select PayFast as your provider in the Booklink connect form. Enter your Merchant ID, Merchant Key, and Passphrase. All three are required. The passphrase must match the one in your PayFast dashboard exactly or checkouts will fail.
  3. 3

    Connect and test

    Click Connect and make a test booking to verify. Book the test with an email address that is not the one you log in to PayFast with: PayFast refuses a payment from the account that receives it, and the payment will not start.
  4. 4

    Optional: test with the PayFast sandbox first

    To try the flow without real money, switch on Test mode on the connect form and enter your PayFast sandbox Merchant ID, Merchant Key and Passphrase instead. Clients are sent to the PayFast sandbox and no real money moves. A Test mode badge shows on the Payments page while it is on. When you are ready for real payments, click Switch, turn Test mode off and enter your live credentials. Switching mode affects payments already in progress, so do it when no client is paying.

Setting up iKhokha

  1. 1

    Get your iK Pay credentials

    Log in to your iKhokha merchant portal and create an iK Pay application to get your App ID and App Secret.
  2. 2

    Enter credentials in Booklink

    Select iKhokha as your provider in the Booklink connect form. Paste your App ID and App Secret.
  3. 3

    Connect and test

    Click Connect and make a test booking to verify. iKhokha has no test mode in Booklink, so use a small real payment.

Use live credentials for real payments

Test or sandbox credentials will not process real payments. Once your test run looks good, switch to your live credentials and do a small live transaction to confirm everything is working correctly.

Was this article helpful?

Still need help?

Our support team is happy to help you get the most out of Booklink.

Contact support