IPN Verification Postback to HTTPS
- Tuan Pham Ngoc
- Offline
- Administrator
-
Less
More
7 years 1 month ago #111999
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic IPN Verification Postback to HTTPS
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:
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
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
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #112001
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic IPN Verification Postback to HTTPS
If you are using 2.x.x, then I think it is safe to upload the file os_paypal.php which I provided in the zip file above (beside uploading the folder paypal) instead of having to patch the file os_paypal.php manually
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- WebSeo
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
7 years 1 month ago #112003
by WebSeo
Replied by WebSeo on topic IPN Verification Postback to HTTPS
IO believe we are using version 1.5.3..is this possible? yes we bought it in 2013 or so, and still have to migrate our website to Joomla3 with new versions of everything...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
7 years 1 month ago #112004
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic IPN Verification Postback to HTTPS
For that, you will have to patch it manually yourself base on our instructions above
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.