Servired not receiving rejected orders

  • Posts: 267
  • Thank you received: 5
8 years 3 months ago #247548

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.

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
8 years 3 months ago #247553

Hi,

The response URL is generated in the servired plugin code by the lines:

$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: 8 years 3 months ago by nicolas.
The following user(s) said Thank You: dvddvd

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

  • Posts: 267
  • Thank you received: 5
8 years 3 months ago #247828

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.057 seconds
Powered by Kunena Forum