How do I make test payments in sandbox mode?

How do I make test payments in sandbox mode?

While setting up your ecommerce store, it's good practice to run some test payments to make sure everything works as expected. We recommend using our sandbox environment to test the payment engine without the need for live money being transferred.

When prompted to enter your merchant details you can use the following default credentials:

  • Merchant ID: 10004002
  • Merchant Key: q1cd2rdny4a53
  • Passphase: payfast

Alternatively, you can create your own details at https://sandbox.payfast.co.za/

To make test payments in sandbox mode, do the following:

1. Enter your email address.  

 2. You will be provided with a sandbox Merchant ID and Key.


 3. Create a 'Salt Passphrase' on the dashboard if needed.


 4. Enter your sandbox credentials into your integration plugin and proceed to make test payments to check your integration is working correctly. 



    • Related Articles

    • Can I test Shopify recurring billing in sandbox mode?

      Unfortunately, you will not be able to test recurring billing in sandbox mode. Only once-off payments can be tested in sandbox mode.
    • How do I test WooCommerce in sandbox mode?

      To allow for testing recurring payments, as well as order updates, do the following: On WordPress, navigate to WooCommerce > Settings > Payments > PayFast. Enter the following sandbox credentials on the Configuration page: Merchant ID: 10004002 ...
    • What is the difference between the sandbox and the live Payfast system?

      The sandbox uses a virtual wallet in place of all the payment methods and will not send any email confirmation. Apart from that, you will be able to test your custom integration, including recurring billing payments, ITNs, order updates on your site, ...
    • 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 ...
    • 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 ...