Hi, i am trying to integrate a payment system and i am required to write a callback page that returns HTML code 200.
this is the controller i wrote as an example
Code:
public function callback()
{
return 1;
}
Route: https::/example.com/public/index.php/[controller]/callback
but i am getting this in access.log:
1.1.1.1 - - [18/Feb/2023:01:52:36 -0800] "POST /public/index.php/[controller]/callback HTTP/1.1" 303 5361 "-" "-"
What am i doing wrong? how can I make the controller return a 200 status?
thanks