Callback url for payment notification

  • Posts: 548
  • Thank you received: 11
  • Hikamarket Multivendor Hikashop Business
11 months 20 hours ago #351828

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.21
-- PHP version -- : 7.4.33

The url will change to the incorrect symbol and it keeps changing to task=notify¬if_payment that cause the url not working. Is there any way to solve the issue?

Attachments:

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
11 months 17 hours ago #351829

Change the special character in the middle to

&not
and the URL will work

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

  • Posts: 548
  • Thank you received: 11
  • Hikamarket Multivendor Hikashop Business
10 months 4 weeks ago #351883

The issue is now the callback url become different when my payment gateway side trigger the url, is there any other way/ have other url to have the callback?

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

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
10 months 4 weeks ago #351884

You can create a PHP file in the root of your website. For example: callback.php
In it, you can have such code:

<?php
$_GET['option'] = 'com_hikashop';
$_GET['ctrl'] = 'checkout';
$_GET['task'] = 'notify';
$_GET['notif_payment'] = 'kiplebiz';
$_GET['callback'] = 'true';
$_GET['tmpl'] = 'component';
include_once(__DIR__.'/inde.php');
That way, you can provide the callback URL mywebsite.com/callback.php

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

Time to create page: 0.053 seconds
Powered by Kunena Forum