From b24350aba667beb91df63210bd4f76a6ea9ce010 Mon Sep 17 00:00:00 2001 From: harshjagad20 Date: Mon, 13 Dec 2021 10:40:28 +0530 Subject: [PATCH] fix payment update issue --- app/Models/Payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Payment.php b/app/Models/Payment.php index c4929462..d88030d9 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -183,7 +183,7 @@ class Payment extends Model implements HasMedia public function updatePayment($request) { - $data = $request->all(); + $data = $request->getPaymentPayload(); if ($request->invoice_id && (! $this->invoice_id || $this->invoice_id !== $request->invoice_id)) { $invoice = Invoice::find($request->invoice_id);