Level 102
What package?
I am using 3rd party library. In this library there is code like this :
public function __construct($input_source = "php://input")
{
$raw_notification = json_decode(file_get_contents($input_source), true);
$status_response = Transaction::status($raw_notification['transaction_id']);
$this->response = $status_response;
}
in line $raw_notification = json_decode(file_get_contents($input_source), true); , variable $raw_notification always empty. But, when I dump it using request()->all() the raw data in the request body is not empty.
Because this error happen in vendor, I can't edit this code. How to fix this?
Please or to participate in this conversation.