SOFORT plugin: Error: 8016:Must be a valid URL.

  • Posts: 272
  • Thank you received: 7
10 years 9 months ago #168844

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- Browser(s) name and version -- : FF
-- Error-message(debug-mod must be tuned on) -- : Error: 8016:Must be a valid URL.

Hi there,

I would like some help with the SOFORT plugin. It use to work 100% without any problem. I then rebuilt my website and installed hikashop from new. Now I get the following error message when I pass an order with Sofort: Error: 8016:Must be a valid URL.

All the details in the backend (user id, project id, API key) are correct. I spoke with SOFORT and they said they think the reason for this error message is because the Hikashop SOFORT plugin is not sending the full URL to SOFORT. Basically it is not sending the 'http://' part of the URL, which gives this error.

Do you have any idea about this? How can I get the plugin to send the full URL including the http:// part ? Yor help greatly appreciated. I also changed hosting company a week ago, but they said they don't think this is the cause of problem.

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

  • Posts: 12953
  • Thank you received: 1778
10 years 9 months ago #168845

Hello,
Can you show me how did you configured the "Cancel url" and "Return url" options of your SOFORT payment method ?
Thanks.

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

  • Posts: 272
  • Thank you received: 7
10 years 9 months ago #168926

Hello Muhammed,

I did not enter any information for the cancel URL and the return URL. I left it blank.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #168997

Hi,

I just checked the plugin code, and for the paymentUrl we use the sofort library, here is the code:

$Sofort = new SofortLib_Multipay($configkey);
$this->redirect_url = $Sofort->getPaymentUrl();

Regarding the cancel and return url, they are based on the "JURI::root()" Joomla function to get the url, and the url contain well "http".

Could you ask them about which url the error is ? The one to call their API or the cancel, return one ?

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

Time to create page: 0.076 seconds
Powered by Kunena Forum