How do I integrate Payfast with WooCommerce?

How do I integrate Payfast with WooCommerce?

Please find the below steps for the WooCommerce integration with Payfast.

Find your Payfast Merchant Details

  1. Log in to - Payfast dashboard > Settings > Developer Settings.
  2. Copy your Merchant ID and Merchant Key (top right) to use during the setup of your WooCommerce store. Or leave this window open after logging in.
  3. Add and copy the Security Passphrase.
 

 
 

Setup and Configure Payfast on WooCommerce backend

Connect your store with Payfast

  1. 1. Go to - WooCommerce > Settings > Payments > Payfast.
    2. Use the toggle under Enabled to select Payfast.
    3. Select Set Up. You will be taken to the Payfast settings.
 


 

Add your Payfast merchant details

  1. Enable/Disable – check the box to enable Payfast as an option on the checkout page.
  2. Title, Description – shown to customers at checkout (optional).
  3. Payfast Sandbox – check the box if you are developing your website and not ready to accept payments and/or wish to test.
  4. Merchant ID, Merchant Key, Passphrase – obtained from your Payfast account as outlined above.
  5. Send Debug Emails, Who Receives Debug E-mails? – check the box and enter an address to receive emails for each transaction (optional).
  6. Enable Logging – when checked, creates a log under WooCommerce > Status > Logs to record transaction event information, which is useful for troubleshooting.
  7. Save changes. The Payfast extension uses the Merchant ID and Merchant Key fields to send cart information to your Payfast account.



If you'd like to test once completed, please ensure you use a different email address from the one linked to your Payfast account.