diff --git a/app/PaymentDrivers/MolliePaymentDriver.php b/app/PaymentDrivers/MolliePaymentDriver.php index 5064ddbb22..36c2d73381 100644 --- a/app/PaymentDrivers/MolliePaymentDriver.php +++ b/app/PaymentDrivers/MolliePaymentDriver.php @@ -310,8 +310,7 @@ class MolliePaymentDriver extends BaseDriver $client = $record->client; } else{ - $input = $request->all(); - $client = Client::withTrashed()->find($this->decodePrimaryKey($input['metadata']->client_id)); + $client = Client::withTrashed()->find($this->decodePrimaryKey($request->metadata->client_id)); } $message = [