| 
		
			Сообщение от jobananada
			
		
	 | 
	| 
		Warning: Cannot modify header information - headers already sent
	 | 
	
Так удалите заголовок... пишет же, что нельзя! Вот удалил, проверьте!
<?php
$str = file_get_contents('php://input');
$data = json_decode($str);
echo json_encode($data);
Отправлять так
fetch("liqpay/liqpqy.php", { method: "POST", body: json });