How to Set Up and Test Your PayFast Integration as an Aggregator

How to Set Up and Test Your PayFast Integration as an Aggregator

To ensure a seamless integration with PayFast as an Aggregator, follow these steps to set up and test your account before going live. This guide will walk you through creating a Sandbox account, testing transactions, and configuring your live account.

1. Create and Configure a Sandbox Account
  • Start by creating a Sandbox account. This environment allows you to test your integration without processing real payments.
  • Use the credentials provided for the Sandbox account to configure your payment setup on your staging site. This step ensures you can simulate transactions safely.
2. Test the Checkout and Transaction Flow
  • Perform a test checkout on your staging site. Ensure the payment is routed through the PayFast payment gateway.
  • Verify the flow from your website’s checkout page to PayFast’s payment page.
  • This helps you confirm that the integration between your website and PayFast is functioning as expected.
3. Verify Transactions with the Sandbox Wallet
  • Use the funds in your Sandbox wallet to complete test transactions.
  • Check that order statuses on your website are updated correctly after payment.
  • This step ensures your website is accurately reflecting transaction data.
4. Configure Your Live Account
  • Once you’ve verified your staging setup, proceed to configure your live account credentials. These can be found in the Merchant Dashboard.
  • Complete a live transaction to confirm that the system is working properly in the live environment.
5. Manage Transactions on Your PayFast Dashboard
  • Log in to your PayFast Dashboard to:
    • View transaction details.
    • Process refunds.
    • Download custom reports for your records.



    • Related Articles

    • How to Set Up and Test Your PayFast Gateway Integration

      Setting up a PayFast Gateway integration ensures your payment system operates smoothly and securely. Follow this step-by-step guide to configure your account, test transactions, and manage live operations. 1. Configure Your Test Account Use the test ...
    • How do I create a Custom Integration request?

      Developer Docs Our custom integration developer documentation can be found here: https://developers.payfast.co.za/docs#quickstart To make things easy for you, you can make use of the example request below. Simply replace the values of the fields with ...
    • 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:  Log in to your PayFast account. Navigate to Settings > Integrations.  Next to “Enable Xero accounting” toggle from Disabled to Enabled. You are ...
    • How do I test if the Xero integration is working?

      Once Xero is enabled by following these instructions, you will be able to test the integration by creating a test invoice and emailing it to your email address.
    • How do I set up recurring billing on Gravity Forms?

      To set up recurring billing on Gravity Forms, do the following:  To set up a subscription on a form, ensure that your form includes pricing fields for an initial amount and a recurring amount. On the form feed, select Subscription under Transaction ...