Payments and billing

Connecting PayFast

For Restaurant · Shop · QR Ordering · Kiosk · In the back office · On the guest's phone

PayFast takes the card, or another way your PayFast account offers, on PayFast's own payment page, and the money goes into your own PayFast account. You connect it in Back Office → Settings → Payments → Online payments, and only an owner or administrator can. Provider details below are from PayFast's own pages, read on 14 November 2026: the developer documentation, its refunds section and PayFast's merchant FAQ. PayFast's site has moved and its dashboard may look different from this page; PayFast's own words win.

51.1 What it does in Ruva

  • Guests: the card checkout for QR ordering, the kiosk and booking deposits when Yoco is not connected. When both are connected, guests are offered Yoco. PayFast is not tried when Yoco is connected but does not answer: the guest is asked to try again in a minute.
  • The till: PayFast takes no card machine. Cards on the till are Yoco's, §50.
  • Refunds go back through your PayFast account (§10).

51.2 Open your account

Register on PayFast's own registration page. PayFast asks for your business details and, before it pays you out, your banking details. That is PayFast's process, and Ruva is not part of it.

51.3 Where to find what Ruva asks for

Sign in to your PayFast dashboard (the sign-in links are on PayFast's site) and open Settings.

  1. Merchant ID: PayFast shows it on your settings page. Copy it into Ruva's Merchant ID box.
  2. Merchant key: shown beside it. Copy it into Merchant key. Take care with spaces before and after: PayFast's own FAQ names that as the common cause of "merchant key invalid".
  3. Passphrase: the Salt Passphrase, which you set yourself under your account information in the same dashboard. If you have not set one, set one there first. PayFast allows only letters, numbers and -, _ and / in it. It must be exactly the same in PayFast and in Ruva, because Ruva uses it to check that a payment notice really came from PayFast. Paste it into Passphrase.
  4. PayFast sandbox (test mode): tick it only if these three came from PayFast's sandbox (a practice account that moves no money, with its own ID, key and passphrase). Ruva's live service refuses a test-mode account, because guests would not really pay.
  5. Tap Save and test.

A key is never shown again once it is saved: to change it, paste the new one. One PayFast account can be connected to one business only.

51.4 Save and test

Save and test asks PayFast to accept your merchant ID, merchant key and passphrase together, the same check PayFast makes when a guest is sent to its payment page. No money moves: nothing is charged and no guest is involved.

  • Connected: PayFast accepted all three. Guests are offered PayFast when Yoco is not connected.
  • Connected, with a note: some PayFast accounts do not answer the full check. Ruva then asks PayFast for today's transactions with your merchant ID and passphrase instead, and the card says: "PayFast accepted your merchant ID and passphrase; it confirms the merchant key on your first payment. Make a small test order." Do that before you print codes.
  • Rejected: PayFast refused them. The card says which to recheck: the Merchant ID and Merchant key (PayFast reports a wrong ID as an invalid key, so check both, with no spaces before or after), or the Passphrase. Paste again and test.
  • Not verified: saved but not tested. Guests are not offered PayFast until it passes.
  • Not connected: nothing is saved yet.
  • PayFast did not answer. Try again in a minute. is a message, not a state.

When PayFast answers the full check, a wrong merchant key cannot pass: you find out here and not when a guest tries to pay. Take a small real payment yourself before you print codes anyway, to see the whole journey once.

The webhook is automatic. PayFast calls its payment notice an ITN. Ruva gives PayFast the address with every payment, so there is nothing to set up in PayFast. Before Ruva believes a notice it checks that it is signed with your passphrase, that it came from PayFast, that the amount is what the guest was asked for, and it asks PayFast to confirm it. A notice that fails any check moves nothing.

51.5 What your guest sees

The guest taps Pay now and lands on PayFast's own page, where they pay by whichever way your PayFast account offers, and come back to the order. The moment PayFast's notice passes the checks above, Ruva settles the order completely.

51.6 Refunds

Back Office → Sales → Orders → Refund… refunds through your own PayFast account, and PayFast emails the guest. Ruva asks PayFast first how the payment can be refunded and how much is left, then sends the refund once: pressing it again, or two people pressing it at the same moment, never pays the guest twice.

  • When PayFast can pay it back only into the guest's bank account, or cannot refund that payment, Ruva records the refund and tells you to refund it in your PayFast dashboard. PayFast asks for the guest's bank details there. Ruva never does.
  • When PayFast refuses, Ruva shows PayFast's reason and changes nothing.
  • When PayFast shows money already refunded on that payment that Ruva has not recorded, for example one made in PayFast's own dashboard, Ruva sends nothing and tells you how much, so you can check PayFast first.
  • When PayFast does not answer, the refund is recorded and listed under Not settled: check PayFast and choose PayFast paid it or PayFast did not pay it.

The reason you type stays in Ruva and is not sent to the guest. All of it is in §10. PayFast's own software kit says refunds are not available in its sandbox, so a refund of a test payment may be refused.

51.7 Payouts

PayFast holds the money in your PayFast account, keeps its fee, and pays out to your bank. Enter your banking details on your PayFast Account page, then ask for a payout there, or set up automatic payouts. PayFast says funds become available after a withholding period (48 hours when it was read) and charges a fee on each payout: both are PayFast's to change, so check its FAQ. In Ruva, Settings → Integrations → Payouts → PayFast → Fetch from PayFast for a period (or import the transaction history you exported) matches each payment to its sale, once, and posts the payout to the bank and the fee as an expense. §39.1 has the rest.