Changed SQL to support latest EventEspresso module
Removed cmd variable which is not needed
V1.1.1 - support added for latest EventEspresso
Fixed module name in payfast_common
Revert "Changed SQL to support latest EventEspresso module"

This reverts commit b3b6d69d9712d16ffbfdc73a612940198a324759.
Revert "Removed cmd variable which is not needed"

This reverts commit 9d00f22ccdc48faa652992c31ca7006033971981.
Added support for Event Espresso 3.1.29.1 and up