How do I integrate PayFast with Event Espresso?
In order to use PayFast with WordPress, you need to install Event Espresso. After this step you will need to install the PayFast payment module for Event Espresso, which is provided by PayFast.
Installation requirements
- A working WordPress and Event Espresso installation
- PHP Curl extension ( Ask your host if you are not sure if this is available )
Installation and testing
The PayFast module may be included in your Event Espresso install directory, but if it is not, you can install it by doing the following:
Version 4.6. – 4.9.
- Make sure you have a working WordPress and Event Espresso installed.
- Download the required PayFast Module for your version of Event Espresso:
- Unzip the file.
- Using FTP, copy the PayFast file into payment_methods folder of Event Espresso. Alternatively, upload the PayFast.zip folder within the mod-eventespresso directory to your site via the plugins page of your WordPress site.
- Event Espresso automatically reads the gateway directory, so it should pick up the new PayFast directory.
- Set up ZAR on EE: Navigate to EE general settings > country. Change country to South Africa, change currency code to ZAR, name to Rand, and symbol to R (leave country ISO code as US).
- Go into your WordPress admin directory, select Event Espresso in the left-hand menu and then select Payment Settings.
- Here you will see a list of all the installed payment gateways. Select PayFast.
- Select activate Payfast.
- For testing purposes, use the Debugging Feature and the PayFast Sandbox.
- The module is now ready to be tested with the PayFast Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:
Going live
In order to make the module 'live', do the following:
- Log in to the WordPress Administrator console.
- Using the main menu, navigate to Event Espresso > Payment Settings > PayFast Settings.
- In the right-hand tab, change the configuration values as below:
- PayFast Sandbox and Debugging set to no
- Change the Merchant ID = Available on your Integration Page on the PayFast website
- Change the Merchant Key = Available on your Integration Page on the PayFast website
- Change the other fields as per your preferences.
- Click Save.
If you are using version 4.4 or below, please visit GitHub for instructions.
Related Articles
I upgraded WordPress/Event Espresso and now 'PayFast' no longer appears as a payment option.
When upgrading either WordPress or Event Espresso, the PayFast payment module files may be deleted. You simply need to reinstall the module following these installation procedures and the 'PayFast' option will reappear with your previous settings ...
When integrating PayFast with Event Espresso, how do I copy the individual files across?
If you are concerned that copying the entire folder from the downloaded module may overwrite files in your installation, rather copy the files from the extracted module individually into your installation. Be sure to copy the files from the ...
I upgraded WordPress/Event Espresso and now I get an error “item_name” required.
This error may happen when the Event Espresso module did not initialise correctly. In some cases the “*_event_attendee_cost” table was not created, causing the SQL that fetches the item_name to break. To solve this, you just need to deactivate, and ...
WordPress gives the error “invalid plugin” when I try to install the PayFast module.
Our plugin is not a plugin for WordPress itself, but for Event Espresso, which is itself an ecommerce plugin for WordPress. To integrate with PayFast, you will need to install Event Espresso first. Once you have installed WP e-Commerce, you can then ...
How do I integrate Payfast with WooCommerce?
Please find the below steps for the WooCommerce integration with Payfast. Find your Payfast Merchant Details Log in to - Payfast dashboard > Settings > Developer Settings. Copy your Merchant ID and Merchant Key (top right) to use during the setup of ...