mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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['applicationFee'] = (WEPAY_APP_FEE_MULTIPLIER * $data['amount']) + WEPAY_APP_FEE_FIXED;
|
||||
$data['feePayer'] = WEPAY_FEE_PAYER;
|
||||
$data['applicationFee'] = (env('WEPAY_APP_FEE_MULTIPLIER') * $data['amount']) + env('WEPAY_APP_FEE_FIXED');
|
||||
$data['feePayer'] = env('WEPAY_FEE_PAYER');
|
||||
$data['callbackUri'] = $this->accountGateway->getWebhookUrl();
|
||||
|
||||
if ($this->isGatewayType(GATEWAY_TYPE_BANK_TRANSFER, $paymentMethod)) {
|
||||
|
Loading…
Reference in New Issue
Block a user