Fatal error on checkout using SagePay advanced

  • Posts: 2
  • Thank you received: 0
9 years 4 months ago #208056

HikaShop version -- : 2.5.0
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.5.42
-- Browser(s) name and version -- : firefox 38.0.5

I am getting the same issue with SagePage. Once SagePage passes my back to my site I get..

Fatal error: Call to a member function enqueueMessage() on a non-object in /home/soapy937/public_html/plugins/hikashoppayment/sagepay/sagepay.php on line 224.

I also am getting emails from SagePay saying I need to upgrade

"Urgent action required to continue trading

You are not using the latest version of Sage Pay. This means that you will cease trading through Sage Pay in less than 30 days’ time.



You will be unable to process any payments from 31st July 2015 and support will also be withdrawn. To continue trading, you must take immediate action and upgrade your Sage Pay account to Version 3."

Hope you can help..

Attachments:
Last edit: 9 years 4 months ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 4 months ago #208059

Hi,

First, when you have an issue with a plugin ; it's good to continue in a thread which have the same subject... But you have to use a thread with the same subject : which is talking about the same payment plugin for example.
So posting in a thread which was talking about the "paypal advanced" plugin was not very helpful ; so we moved your message to a new topic.

First at all, the SagePay plugin in HikaShop is using SagePay protocol 3 since several months.
You just have to take a look in our changelog to see that.
www.hikashop.com/support/support/documen...ashop-changelog.html
You will also find several thread in that forum of people asking that same question about the SagePay protocol.

Your issue is related to a missing argument : "crypt".
That argument should be passed in the URL but it looks like there is no argument at all..
So the plugin can't even validate the order is know which order id you're trying to validate.
That crypt parameter contains all required data, so if the parameter is not there or not valid ; the plugin can't work.

Now it could be useful to know the full url of the page, in order to understand why that "crypt" parameter is no available in the plugin.

About the warning for the lines 221 and 224 ; I fixed them in HikaShop. Next release will contains the patches.
For the moment you can add the line

$this->app = JFactory::getApplication();
just before the line 224 and for the line 221 you can replace
$cancel_url = $httpsHikashop.'index.php?option=com_hikashop&ctrl=order&task=cancel_order'.$this->url_itemid;
By
$cancel_url = $httpsHikashop.'index.php?option=com_hikashop&ctrl=order&task=cancel_order';

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum