mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
fix credit card saving with stripe
This commit is contained in:
parent
08501cceb6
commit
6ae18dac6f
@ -179,7 +179,7 @@ class CreditCard
|
|||||||
|
|
||||||
$payment_type = PaymentType::parseCardType($payment_method_object['card']['brand']);
|
$payment_type = PaymentType::parseCardType($payment_method_object['card']['brand']);
|
||||||
|
|
||||||
if ($state['save_card'] == true || $state['save_card'] == 'true') {
|
if ($state['save_card'] === true || $state['save_card'] === 'true') {
|
||||||
$this->saveCard($state);
|
$this->saveCard($state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user