Skip to main content

Servired not receiving rejected orders

More
10 years 1 month ago #247548 by dvddvd
Hi Jerome,
The solution is very simple: change the protocol from https to http in the Redsys response Url . Not find the variable live_hikashop . Thank you

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

More
10 years 1 month ago - 10 years 1 month ago #247553 by nicolas
Hi,

The response URL is generated in the servired plugin code by the lines:
Code:
$url_OK = HIKASHOP_LIVE . "index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=" . $order->order_id.'&lang='.$this->locale; $url_KO = HIKASHOP_LIVE . "index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=" . $order->order_id.'&lang='.$this->locale; $urlMerchant = HIKASHOP_LIVE . 'index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment='.$this->name.'&tmpl=component&lang='.$this->locale . $this->url_itemid;
And the HIKASHOP_LIVE constant comes from the "live_site" parameter of your joomla configuration.php file. So edit it, and make sure that the URL you have there is the one you want for the main URL of your website. You'll then get that URL with the protocol you used in the live_site parameter for the response URLs.
Last edit: 10 years 1 month ago by nicolas.
The following user(s) said Thank You: dvddvd

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

More
10 years 1 month ago #247828 by dvddvd
Thank you very much Nicolas :
Once changed https to http in these parameters Redsys response is received correctly.

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

Time to create page: 0.177 seconds
Powered by Kunena Forum