How do I set up Xero on PayFast?

How do I set up Xero on PayFast?

To set up Xero on PayFast, do the following:




Step 1: Enable Xero:

To enable Xero, do the following: 

  1. Log in to your PayFast account.
  2. Navigate to Settings > Integrations
  3. Next to “Enable Xero accounting” toggle from Disabled to Enabled.
  4. You are redirected to Xero. 
  5. Click Allow Access.
  6. You are redirected back to PayFast.  

Step 2: Map your accounts:

To map your PayFast account to Xero and your bank account, do the following:

  1. Click Edit next to Xero integration.
  2. You can either select Existing accounts in Xero or Create new accounts in Xero.

Existing account details in Xero:

If you have already added the accounts in Xero the drop-down options will be populated by Xero. These are the accounts that transactions get mapped to in Xero.

Create new Account details in Xero:

To map your PayFast account to Xero and your bank account, do the following:

  1. Click Edit next to Xero integration.
  2. You can either select Existing accounts in Xero or Create new accounts in Xero.

Existing account details in Xero:

If you have already added the accounts in Xero the drop-down options will be populated by Xero. These are the accounts that transactions get mapped to in Xero.

Create new Account details in Xero:

  1. Click Create new next to PayFast Transaction Account. (This is the account in Xero that all PayFast transactions get mapped to.) Enter the name you would like to use for this account and an account code that is not listed already on your Xero Chart of accounts (eg: 609).
  2. Click Create new next to Business Bank Bank Account. (The bank account that PayFast generates payouts to. The Xero system is updated when a payout is made, automating the bookkeeping process.) During this step, you are redirected to Xero to create the account and then redirected back to your PayFast account to confirm the bank account you created in Xero. Enter the name you would like to use for this account, an account code that is not listed already on your Xero Chart of accounts (eg: 611) and the bank account number that you use on PayFast.
  3. Click Create New next to PayFast Fees Account. (PayFast fees charged on each transaction get mapped to this account. This is default set to Bank fees (404).) This account must have 15% VAT added to it. 
  4. Click Save.


    • Related Articles

    • How does the Xero integration work?

      Our integration with Xero is all automatic. It will update Xero when a successful payment is received by PayFast via a Xero invoice (or if a payout from PayFast is made). However, it will not automatically sync or update payments made from other ...
    • Where can I find the PayFast fees on Xero? Will they be recorded on Xero?

      All the fees will be automatically recorded between PayFast and Xero. ​ There are notes for the specific fee calculations on the Fees page of the PayFast website. When you are on the page, scroll down to the Fees table. On the right-hand side hover ...
    • In Xero, why can I not select the same account for both 'PayFast Code' and 'Payout Code'?

      These two accounts perform different functions, and you can therefore not use the same account for both: The PayFast account is the account in Xero that all PayFast transactions get mapped to. The Payout account is the bank account that PayFast ...
    • How does reconciliation work between PayFast and Xero?

      You are required to have two bank accounts in Xero for reconciliation to be successful, that is a current account and a clearing account. Because PayFast charges a small fee for every successful transaction that your customers make, the net amount ...
    • In Xero, why does the 'Get bank feeds' button not work for PayFast?

      By setting up Xero according to the steps outlined here, the integration will handle the bank feeds automatically from our side and update your Xero systems when there are successful payments received, that were actioned from Xero. Additionally, it ...