mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:54:31 -04:00
Fix for WePay app fee
This commit is contained in:
parent
2d15c43251
commit
9feddabd4b
@ -53,8 +53,8 @@ class WePayPaymentDriver extends BasePaymentDriver
|
|||||||
$data['transaction_id'] = $transactionId;
|
$data['transaction_id'] = $transactionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['applicationFee'] = (WEPAY_APP_FEE_MULTIPLIER * $data['amount']) + WEPAY_APP_FEE_FIXED;
|
$data['applicationFee'] = (env('WEPAY_APP_FEE_MULTIPLIER') * $data['amount']) + env('WEPAY_APP_FEE_FIXED');
|
||||||
$data['feePayer'] = WEPAY_FEE_PAYER;
|
$data['feePayer'] = env('WEPAY_FEE_PAYER');
|
||||||
$data['callbackUri'] = $this->accountGateway->getWebhookUrl();
|
$data['callbackUri'] = $this->accountGateway->getWebhookUrl();
|
||||||
|
|
||||||
if ($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER, $paymentMethod)) {
|
if ($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER, $paymentMethod)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user