1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Add BANK_TRANSFER to Gateway model

This commit is contained in:
Benjamin Beganović 2021-08-26 15:37:17 +02:00
parent 5641ed96c5
commit 969a76003b

View File

@ -83,7 +83,7 @@ class Gateway extends StaticModel
break;
case 3:
return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => true]];//eWay
break;
break;
case 11:
return [GatewayType::CREDIT_CARD => ['refund' => false, 'token_billing' => false]];//Payfast
break;
@ -106,11 +106,12 @@ class Gateway extends StaticModel
case 49:
return [GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true],
GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true]]; //WePay
break;
break;
case 50:
return [
GatewayType::CREDIT_CARD => ['refund' => true, 'token_billing' => true], //Braintree
GatewayType::PAYPAL => ['refund' => true, 'token_billing' => true]
GatewayType::PAYPAL => ['refund' => true, 'token_billing' => true],
GatewayType::BANK_TRANSFER => ['refund' => true, 'token_billing' => true],
];
break;
case 7: