From cd15861158339344945ba5cd051c0f4bbf24f811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 27 Aug 2021 17:00:43 +0200 Subject: [PATCH] Add `paymentResponse` to MethodInterface.php --- app/PaymentDrivers/Common/MethodInterface.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/PaymentDrivers/Common/MethodInterface.php b/app/PaymentDrivers/Common/MethodInterface.php index 6e68b82dcf30..0c839d602cdd 100644 --- a/app/PaymentDrivers/Common/MethodInterface.php +++ b/app/PaymentDrivers/Common/MethodInterface.php @@ -11,6 +11,7 @@ namespace App\PaymentDrivers\Common; +use App\Http\Requests\ClientPortal\Payments\PaymentResponseRequest; use App\Http\Requests\Request; interface MethodInterface @@ -35,4 +36,11 @@ interface MethodInterface * @param array $data */ public function paymentView(array $data); + + /** + * Process the response from the payments page. + * + * @param PaymentResponseRequest $request + */ + public function paymentResponse(PaymentResponseRequest $request); }