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

Fixes for stripe importing customers

This commit is contained in:
David Bomba 2022-11-27 17:39:10 +11:00
parent 85c40de5de
commit 26bb11d6e3

View File

@ -67,10 +67,13 @@ class ImportCustomers
}
//handle
if(is_array($customers->data) && end($customers->data) && array_key_exists('id', end($customers->data)))
$starting_after = end($customers->data)['id'];
else
break;
// if(is_array($customers->data) && end($customers->data) && array_key_exists('id', end($customers->data)))
// $starting_after = end($customers->data)['id'];
// else
// break;
$starting_after = end($customers->data)['id'];
} while ($customers->has_more);
}