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:
parent
6ad49cf281
commit
74a0deb07e
@ -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');
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user