1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Fixes for Stripe import customers

This commit is contained in:
David Bomba 2021-06-15 08:19:23 +10:00
parent 887bc3d4a6
commit d582e67962

View File

@ -58,7 +58,7 @@ class UpdatePaymentMethods
// } // }
private function updateMethods(Customer $customer, Client $client) public function updateMethods(Customer $customer, Client $client)
{ {
$card_methods = PaymentMethod::all([ $card_methods = PaymentMethod::all([
'customer' => $customer->id, 'customer' => $customer->id,
@ -145,7 +145,7 @@ class UpdatePaymentMethods
} }
private function buildPaymentMethodMeta(PaymentMethod $method, GatewayType $type_id) private function buildPaymentMethodMeta(PaymentMethod $method, $type_id)
{ {
switch ($type_id) { switch ($type_id) {