diff --git a/app/Ninja/PaymentDrivers/StripePaymentDriver.php b/app/Ninja/PaymentDrivers/StripePaymentDriver.php index 11e3c5646789..69efea4b4bfb 100644 --- a/app/Ninja/PaymentDrivers/StripePaymentDriver.php +++ b/app/Ninja/PaymentDrivers/StripePaymentDriver.php @@ -303,7 +303,7 @@ class StripePaymentDriver extends BasePaymentDriver } } - protected function handleWebHook($input) + public function handleWebHook($input) { $eventId = array_get($input, 'id'); $eventType= array_get($input, 'type'); diff --git a/app/Ninja/PaymentDrivers/WePayPaymentDriver.php b/app/Ninja/PaymentDrivers/WePayPaymentDriver.php index e95426df1604..fbef7798ac71 100644 --- a/app/Ninja/PaymentDrivers/WePayPaymentDriver.php +++ b/app/Ninja/PaymentDrivers/WePayPaymentDriver.php @@ -211,7 +211,7 @@ class WePayPaymentDriver extends BasePaymentDriver return floor(min($fee, $amount * 0.2));// Maximum fee is 20% of the amount. } - protected function handleWebHook($input) + public function handleWebHook($input) { $accountId = $accountGateway->account_id;