- Posts: 267
- Thank you received: 5
Servired not receiving rejected orders
10 years 1 month ago #247548
by dvddvd
Replied by dvddvd on topic Servired not receiving rejected orders
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
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.
10 years 1 month ago - 10 years 1 month ago #247553
by nicolas
Replied by nicolas on topic Servired not receiving rejected orders
Hi,
The response URL is generated in the servired plugin code by the lines:
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.
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¬if_payment='.$this->name.'&tmpl=component&lang='.$this->locale . $this->url_itemid;
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.
10 years 1 month ago #247828
by dvddvd
Replied by dvddvd on topic Servired not receiving rejected orders
Thank you very much Nicolas :
Once changed https to http in these parameters Redsys response is received correctly.
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