[#881] I wanna setting callback url

Migrated from Redmine #881 | Author: inseon hong
Status: Feedback | Priority: High, I’m very impatient | Created: 2022-05-11


Hello,

First Thank you for the amazing APIs and functionalities.
I wanna set callback url and but we are facing a problem that the callback urls are not getting called with any type of notification.
I checked the logs on our side and couldn’t find any log or error messages for it, which means they were not called at all.

company ID is: celibtest
setting callback url : http://localhost/admins/test4
booking url: https://celibtest.simplybook.asia/v2/

Thank you very much!

Sincerely,
Tim Chen

Redmine Admin wrote:

hi, there is NO way to call localhost url. It must be url which is available trough the web or public IP address

inseon hong wrote:

Redmine Admin wrote:

hi, there is NO way to call localhost url. It must be url which is available trough the web or public IP address

Oh, Thanks.
I change callback URL.
I set under info.
callback URL : 셀립 Célib | Life & Stay
booking url: https://celibtest.simplybook.asia/v2/

so I write Simplybook.php like that.
$json = file_get_contents(‘https://celibtest.simplybook.asia/v2/’);
$obj = json_decode($json, TRUE);

    log_message('debug',"test4>>>>>>>>>>>>json");
    log_message('debug',json_encode($json));
    log_message('debug',"test4>>>>>>>>>>>>obj");
    log_message('debug',json_encode($obj));

but It never called. please help me.
Thanks.

inseon hong wrote:

inseon hong wrote:

Redmine Admin wrote:

hi, there is NO way to call localhost url. It must be url which is available trough the web or public IP address

Oh, Thanks.
I change callback URL.
I set under info.
callback URL : 셀립 Célib | Life & Stay
booking url: https://celibtest.simplybook.asia/v2/

so I write Simplybook.php like that.
$json = file_get_contents(‘https://celibtest.simplybook.asia/v2/’);
$obj = json_decode($json, TRUE);

    log_message('debug',"test4>>>>>>>>>>>>json");
    log_message('debug',json_encode($json));
    log_message('debug',"test4>>>>>>>>>>>>obj");
    log_message('debug',json_encode($obj));

but It never called. please help me.
Thanks.

i’m sorry. I’m solved