Event Espresso

Event Espresso is a world-class event registration and ticketing management plugin for WordPress. It supports a whole list of features and add-ons, making it one of the most powerful ways of managing events. Secure payments for your events and tickets with PayFast.

Event Espresso

Key Features

  • Easy event management
  • Custom registration
  • Venue and staff management
  • Collect payments online

Integration

See PayFast integration for v3

How do I use Payfast with EventEspresso?

In order to use Payfast with WordPress, you need to install EventEspresso, after this step you will need to install the Payfast payment module for EventEspresso which is provided by Payfast.

What are the installation requirements?

* A working WordPress and EventEspresso installation* PHP Curl extension ( Ask your host if you are not sure if this is available )

Installation and Testing

How do I install the Payfast module?

Version 3.*

  1. Make sure you have a working WordPress and EventEspresso install
  2. Download the Payfast Module from our Shopping Carts directory
  3. Unzip the file
  4. Using FTP, copy the unzipped files into ‘[your root]/wp-content/uploads/espresso/gateways/payfast’. The payfast directory should be spelled with a lower case ‘p’, and not capitalized. Make sure that this is the base folder for the payfast modules, you should not have a subdirectory inside this directory.
  5. EventEspresso automatically reads the gateway directory, so it should pick up the new payfast directory
  6. Go into your WordPress admin directory, select EventEspresso in the left hand menu and then select Payment Settings
  7. Here you will see a list of all the installed payment gateways. Select “Payfast settings”
  8. Select “activate Payfast IPN”
  9. For testing purposes set the “Payfast Merchant ID” to 10000100, “Payfast Merchant Key” to 46f0cd694581a, and select the “Use the Debugging Feature and the Payfast Sandbox”
  10. The module is now ready to be tested with the Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:
    • Username: sbtu01@payfast.co.za
    • Password: clientpass

See PayFast integration for v4-4.4

How do I use Payfast with EventEspresso?

In order to use Payfast with WordPress, you need to install EventEspresso, after this step you will need to install the Payfast payment module for EventEspresso which is provided by Payfast.

What are the installation requirements?

* A working WordPress and EventEspresso installation* PHP Curl extension ( Ask your host if you are not sure if this is available )

Installation and Testing

How do I install the Payfast module?

Version 4.* – 4.4.*

  1. Make sure you have a working WordPress and EventEspresso install
  2. Download the required Payfast Module from our GitHub account
  3. Unzip the file
  4. Using FTP copy the Payfast file to /template/ext/event-espresso/payment_methods
  5. EventEspresso automatically reads the gateway directory, so it should pick up the new payfast directory
  6. Go into your WordPress admin directory, select EventEspresso in the left hand menu and then select Payment Settings
  7. Here you will see a list of all the installed payment gateways. Select “Payfast”
  8. Select “activate Payfast”
  9. For testing purposes Use the Debugging Feature and the Payfast Sandbox
  10. The module is now ready to be tested with the Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:
    • Username: sbtu01@payfast.co.za
    • Password: clientpass

See PayFast integration for v4.6-4.8

How do I use Payfast with EventEspresso?

In order to use Payfast with WordPress, you need to install EventEspresso, after this step you will need to install the Payfast payment module for EventEspresso which is provided by Payfast.

What are the installation requirements?

* A working WordPress and EventEspresso installation* PHP Curl extension ( Ask your host if you are not sure if this is available )

Installation and Testing

How do I install the Payfast module?

The Payfast module may be included in you EventEspresso install directory, but if it is not, you can install it by doing the following
Version 4.6.* – 4.8.*

  1. Make sure you have a working WordPress and EventEspresso install
  2. Download the required Payfast Module from our GitHub account. *** For EE 4.6.* use mod_eventespresso_4_6 v1.0.0, for EE 4.7.* and 4.8.* use mod_eventespresso_4_6 v1.1.0 ***
  3. Unzip the file
  4. Using FTP, copy the Payfast file into payment_methods folder of Event Espresso
  5. EventEspresso automatically reads the gateway directory, so it should pick up the new payfast directory
  6. Setup 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).
  7. Go into your WordPress admin directory, select EventEspresso in the left hand menu and then select Payment Settings
  8. Here you will see a list of all the installed payment gateways. Select “Payfast”
  9. Select “activate Payfast”
  10. For testing purposes Use the Debugging Feature and the Payfast Sandbox
  11. The module is now ready to be tested with the Sandbox. To test with the sandbox, use the following login credentials when redirected to the PayFast site:
    • Username: sbtu01@payfast.co.za
    • Password: clientpass

See PayFast FAQs

How do I use Payfast with EventEspresso?

In order to use Payfast with WordPress, you need to install EventEspresso, after this step you will need to install the Payfast payment module for EventEspresso which is provided by Payfast.

What are the installation requirements?

* A working WordPress and EventEspresso installation* PHP Curl extension ( Ask your host if you are not sure if this is available )

Installation and Testing

How do I install the Payfast module?

The Payfast module may be included in you EventEspresso install directory, but if it is not, you can install it by doing the following

WordPress gives the error “invalid plugin” when I try an install your module!

Our plugin is not a plugin for WordPress itself, but for EventEspresso, which is itself an eCommerce plugin for WordPress.

To integrate with PayFast, you will need to install EventEspresso first. Once you have installed WP e-Commerce, you can then install the PayFast payment module for WP e-Commerce provided by PayFast as detailed above.

I upgraded WordPress/EventEspresso and now “PayFast” no longer appears as a payment option!

When upgrading either WordPress or WP e-Commerce, the PayFast payment module files may be deleted.

You simply need to reinstall the module following the installation procedures above and the “PayFast” option will reappear with your previous settings intact.

I upgraded WordPress/EventEspresso and now I get an error “item_name” required

This error may happen when the EventEspresso module did not initialize 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 then reactivate the EventEspresso plugin. This will reinitialize the plugin, and recreate the table. Other tables will remain untouched.

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 downloaded module to their corresponding locations within your installation:

The list of files needed in your online installation is as follows:

Version 3.*

wp-content\uploads\espresso\gateways\payfast\index.php
wp-content\uploads\espresso\gateways\payfast\init.php
wp-content\uploads\espresso\gateways\payfast\payfast.log
wp-content\uploads\espresso\gateways\payfast\Payfast.php
wp-content\uploads\espresso\gateways\payfast\payfast.png
wp-content\uploads\espresso\gateways\payfast\payfast_common.inc
wp-content\uploads\espresso\gateways\payfast\payfast_ipn.php
wp-content\uploads\espresso\gateways\payfast\payfast_logo.php
wp-content\uploads\espresso\gateways\payfast\payfast_vars.php
wp-content\uploads\espresso\gateways\payfast\payfastlogo.gif
wp-content\uploads\espresso\gateways\payfast\settings.php
wp-content\uploads\espresso\gateways\payfast\LICENSE.txt

Version 4.*

[ee plugin root]\modules\gateways\PayFast\index.php
[ee plugin root]\modules\gateways\PayFast\EE_PayFast.class.php.php
[ee plugin root]\modules\gateways\lib\payfast_common.inc
[ee plugin root]\modules\gateways\lib\payfast-logo.png
[ee plugin root]\modules\gateways\lib\payments_by.png

I’m ready to go live! What do I do?

In order to make the module “LIVE”, follow the instructions below:

  1. Login to the WordPress Administrator console
  2. Using the main menu, navigate to EventEspresso > Payment Settings > Payfast Settings
  3. 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
  4. Change the other fields as per your preferences
  5. Click Save