mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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');
|
$eventId = array_get($input, 'id');
|
||||||
$eventType= array_get($input, 'type');
|
$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.
|
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;
|
$accountId = $accountGateway->account_id;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user