Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com>
  • Loading branch information
sampoyigi committed Dec 30, 2024
1 parent f5dca09 commit 29128c9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Classes/BasePaymentGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 29128c9

Please sign in to comment.