Add the South African payment processing service Payfast as a gateway option for Paid Memberships Pro.
Payfast is a payments processing service for South Africans and South African websites. Their payment gateway offers a secure and instant transfer of money between online buyers and sellers. Merchants can accept funds from local and international customers from anywhere in the world in ZAR.
Fees are charged per-transaction according to this fee schedule and there are no setup or monthly fees.
- Make sure you have the Paid Memberships Pro plugin installed and activated.
- Upload the
pmpro-payfastdirectory to the
/wp-content/plugins/directory of your site.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Memberships -> Payment Settings in your WordPress dashboard to complete the Payfast settings.
- Register and validate your account with Payfast: https://registration.payfast.io/.
- Log in to your Payfast account and select ‘Settings’ to retrieve your merchant details.
- Log in to your WordPress dashboard and navigate to Memberships > Payment Settings.
- Set your “Payment Gateway” to “Payfast”. Fill out your merchant details and Security Passphrase (required in order to accept recurring payments).
- Set your currency to “South African Rand”.
- Save your settings.
I found a bug in the plugin.
Please post it in the GitHub issue tracker here: https://github.com/strangerstudios/pmpro-payfast/issues
For immediate help, also post to our premium support site at https://www.paidmembershipspro.com for more documentation and our support forums.
I need help installing, configuring, or customizing the plugin.
Please visit our premium support site at https://www.paidmembershipspro.com for more documentation and our support forums.
I need to test Payfast in sandbox mode.
To test Payfast payments without being billed in sandbox mode requires a sandbox account from PayFast. For more information in creating a sandbox account — https://developers.payfast.co.za/documentation/#the-sandbox
There are no reviews for this plugin.
Contributors & Developers
“Paid Memberships Pro — Payfast Gateway Add On” is open source software. The following people have contributed to this plugin.Contributors
“Paid Memberships Pro — Payfast Gateway Add On” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “Paid Memberships Pro — Payfast Gateway Add On” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
1.4 — 2022-12-01
- ENHANCEMENT: Added better support for MMPU when a member cancels their membership. (@dparker1005)
- BUG FIX/ENHANCEMENT: Fixed an issue where custom fields were not saving correctly during checkout. (@jarrydlong)
- BUG FIX: Fix fatal error during ITN service Payfast uses. (@louiswol94)
- REFACTOR: Removed redundant code and cleaned up code. (@mircobabini)
1.3.0 — 2021-12-15
- ENHANCEMENT: Set the default order status to “token” instead of “pending”.
- ENHANCEMENT: Hide the Update/Cancel buttons on the membership billing page when PayFast is used.
- BUG FIX: Fixed fatal error where method was called incorrectly on the membership billing page.
- BUG FIX: Rename filter in the ITN Handler to prevent conflicts. Filter name changed from ‘pmpro_ipnhandler_level’ to ‘pmpro_payfast_itnhandler_level’.
1.2 — 2021-02-11
- BUG FIX: Fixed admin notice showing up on all pages in WordPress dashboard when custom trial is set.
- ENHANCEMENT: Support Subscriptions Delay Add On
1.1 — 2021-01-25
- BUG FIX: Fixed an issue where cancellations inside Paid Memberships Pro weren’t cancelling the subscription inside PayFast.
- ENHANCEMENT: Moved the location of the ‘pmpro_payfast_data’ filter to allow proper filtering of data passed to PayFast.
1.0 — 2020-10-21
- BUG FIX: Fixed a fatal error if Paid Memberships Pro (core) plugin was disabled.
- BUG FIX: Fixed an issue where initial order was showing incorrect amount charged if initial price wasn’t the same as the recurring price.
- BUG FIX: Fixed a PHP warning when creating a new membership level while PayFast was enabled as the active gateway.
0.9 — 2020-21-08
- BUG FIX: Hide the PayFast logo on checkout when a discount is applied that sets the level to be free.
- ENHANCEMENT: Show warnings within the admin dashboard area when levels contain custom trials, not-supported billing periods.
0.8.5 — 2020-07-20
- BUG FIX: Fixed issue where discount code wasn’t removing the recurring payments data correctly.
0.8.4 — 2020-07-06
- BUG FIX: Fixed issue where billing page update link was causing a fatal error. Redirect to PayFast login instead.
0.8.3 — 2019-10-16
- BUG FIX: Signature mismatch on recurring payments. (thanks Tauriq Stanley)
0.8.2 — 2019-04-26
- ENHANCEMENT: Prefix all constants to avoid conflict with other PayFast Plugins.
- SECURITY: Better sanitization of POST parameters in the ITN hander.
- BUG FIX/ENHANCEMENT: The PayFast signature is really called PayFast PassPhrase now.
- Initial release. Pluganized from the PayFast PMPro fork. Includes many bug fixes and improvements.