Update insurance callback handler to expect formdata #761

This commit is contained in:
Ramon Gutierrez 2023-10-13 14:13:57 +08:00
parent 38262151e8
commit 708e9a67cc

View file

@ -26,7 +26,7 @@ class InsuranceController extends Controller
public function listen(Request $req)
{
$payload = json_decode($req->getContent(), true);
$payload = $req->request->all();
// DEBUG
@file_put_contents(__DIR__ . '/../../var/log/insurance.log', print_r($payload, true) . "\r\n----------------------------------------\r\n\r\n", FILE_APPEND);