So here are the guides for someone still uses Joomla 2.5
1. Get this zip file, unzip it, you will see a folder called paypal
2. Upload that folder to components/com_eventbooking/payments folder on your site
3. Open the file components/com_eventbooking/payments/os_paypal.php, you will see a folder called _validate, replace the code of that function with this code:
Code:
function _validate()
{
JLoader::register('PaypalIPN', JPATH_ROOT . '/components/com_eventbooking/payments/paypal/PayPalIPN.php');
$ipn = new PaypalIPN;
// Use sandbox URL if test mode is configured
if (!$this->_mode)
{
$ipn->useSandbox();
}
// Disable use custom certs
$ipn->usePHPCerts();
$this->notificationData = $_POST;
try
{
$valid = $ipn->verifyIPN();
if (!$this->_mode || $valid)
{
return true;
}
return false;
}
catch (Exception $e)
{
return false;
}
}
4. Contact your hosting provider, ask them to make sure your server supports TLS 1.2
5. Run a test, check and make sure it is working as expected
As Joomla 2.5 was not supported by Joomla core team from long time ago (from December 2014) and we also stopped the development for that version from long time ago, you should update your site to Joomla 3.x to use latest version of Events Booking
If the patch works for you, then it's good. If not, you will need to have an active subscription of Events Booking to request support from us. In case your support period expired from long time ago, we will have to ask you to purchase a license of Events Booking to receive support from us
Regards,
Tuan