I’m trying to receive a JSON POST on a payment interface website, but I can’t decode it.
When I print :
echo $_POST;
I get:
$data = file_get_contents('php://input'); echo $data;
This worked for me.