mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Show "Credit Card" instead of "Stripe" as a payment option.
This commit is contained in:
parent
5eb76df20e
commit
0967ca65e8
@ -225,6 +225,9 @@ class ClientPortalController extends BaseController
|
|||||||
|
|
||||||
|
|
||||||
foreach(Gateway::$paymentTypes as $type) {
|
foreach(Gateway::$paymentTypes as $type) {
|
||||||
|
if ($type == PAYMENT_TYPE_STRIPE) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if ($gateway = $account->getGatewayByType($type)) {
|
if ($gateway = $account->getGatewayByType($type)) {
|
||||||
if ($type == PAYMENT_TYPE_DIRECT_DEBIT) {
|
if ($type == PAYMENT_TYPE_DIRECT_DEBIT) {
|
||||||
if ($gateway->gateway_id == GATEWAY_STRIPE) {
|
if ($gateway->gateway_id == GATEWAY_STRIPE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user