Skip to main content

Callback url for payment notification

More
3 years 4 months ago #351828 by ler@singmuiheng.com
-- 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?

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

More
3 years 4 months ago #351829 by nicolas
Change the special character in the middle to
Code:
&not
and the URL will work

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

More
3 years 4 months ago #351883 by ler@singmuiheng.com
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.

More
3 years 4 months ago #351884 by nicolas
You can create a PHP file in the root of your website. For example: callback.php
In it, you can have such code:
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.174 seconds
Powered by Kunena Forum