1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Web hook bug fixes

This commit is contained in:
Hillel Coren 2016-06-23 16:27:54 +03:00
parent 6ad49cf281
commit 74a0deb07e
2 changed files with 2 additions and 2 deletions

View File

@ -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');

View File

@ -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;