News:

Looking for documentation? Take a look on our wiki

Main Menu

Sagepay and php 7.2

Started by blackrat999, April 05, 2019, 11:07:20 AM

Previous topic - Next topic

blackrat999

In trying to update ecommerce sites to PHP7.2 i have come across an issue with ones that use the Sagepay plugin.
The version i have is fairly old anyway but im wondering if there is any point in trying to update it as everything i see suggests it wont work beyond 7.1 anyway. Currently working on 7.0 fine.

https://extensions.virtuemart.net/checkout/payments/sagepay-payments-detail  this one and a few others say similar:

"Please be aware that the new SagePay Protocol 3.00 requires the PHP mcrypt functionality with the Rijndael cipher. If your server does not have these included with PHP, you will not be able to use SagePay. You should check with your hosting company that this is included, or ask them to install it."

My hosts say:
"as of PHP 7.1, the php-mcrypt functionality was deprecated; and as of PHP 7.2 it was completely removed, so that extension is not available any more."

Does anyone have any further experience of getting a Sagepay plugin to work on more recent versions of PHP?

thanks


six gun

i contacted my host. The Tech didn't know anything about this. i am with siteground - what you can do with siteground is have different php running on different pages.
i have a plugin which crashes the site when it runs with the latest php but if i have the pages the plugin is running on with an earlier version it is fine - as it is there is only one page running with this plugin.
i don't think it is idea not running the latest php but it is a solution if your host provides that function.

blackrat999

Thanks i can choose which PHP version i need to use the issue is that the sagepay plugin wont work on 7.2 and i would like it to.
If anyone has any ideas re this please let me know.
thanks

GJC Web Design

but won't it be for SagePay to change their accepted encryption at THEIR end...  I don't see u can do anything
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

blackrat999

Ah ok i wasnt aware i assumed it was just something in the plugin that wasnt compatible?

GJC Web Design

if Sage only accept mcrypt functionality with the Rijndael cipher then that is what you need to send..

but find it hard to believe Sage won't change this at some point soon as 7.2 is used everywhere now..  have u asked?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation