From 29128c9b0e5fd9adc321aaa7982c986ec41be6b2 Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Mon, 30 Dec 2024 22:37:43 +0000 Subject: [PATCH] Minor fix Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- src/Classes/BasePaymentGateway.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Classes/BasePaymentGateway.php b/src/Classes/BasePaymentGateway.php index 6c1cea9..47f1bdd 100644 --- a/src/Classes/BasePaymentGateway.php +++ b/src/Classes/BasePaymentGateway.php @@ -168,10 +168,7 @@ public function processPaymentForm($data, $host, $order) /** * Executed when this gateway is rendered on the checkout page. */ - public function beforeRenderPaymentForm($host, $controller) - { - throw new \LogicException('Method beforeRenderPaymentForm must be implemented on your custom payment class.'); - } + public function beforeRenderPaymentForm($host, $controller) {} public function getPaymentFormViewName() {