- Posts: 575
- Thank you received: 11
Callback url for payment notification
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
3 years 4 months ago #351828
by ler@singmuiheng.com
Callback url for payment notification was created 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?
-- 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.
3 years 4 months ago #351829
by nicolas
Replied by nicolas on topic Callback url for payment notification
Change the special character in the middle to
and the URL will work
Code:
¬
Please Log in or Create an account to join the conversation.
- ler@singmuiheng.com
-
Topic Author
- Offline
Less
More
- Posts: 575
- Thank you received: 11
3 years 4 months ago #351883
by ler@singmuiheng.com
Replied by ler@singmuiheng.com on topic Callback url for payment notification
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.
3 years 4 months ago #351884
by nicolas
Replied by nicolas on topic Callback url for payment notification
You can create a PHP file in the root of your website. For example: callback.php
In it, you can have such code:
That way, you can provide the callback URL
mywebsite.com/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');
Please Log in or Create an account to join the conversation.
Time to create page: 0.134 seconds