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:
parent
887bc3d4a6
commit
d582e67962
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user