Fixes for breaking out of stripe import customers

This commit is contained in:
David Bomba 2022-11-27 17:47:22 +11:00
parent 26bb11d6e3
commit 1dffb04d8c

View File

@ -72,8 +72,10 @@ class ImportCustomers
// else
// break;
$starting_after = end($customers->data)['id'];
$starting_after = isset(end($customers->data)['id']) ? end($customers->data)['id'] : false;
if(!$starting_after)
break;
} while ($customers->has_more);
}