#kanohian
1 messages · Page 1 of 1 (latest)
hi there
Why don't you search it in your DB
cause its a migration
need to export directly from stripe
in date range
with specified statuses
export it to excel/csv, then someone decides whose of them to migrate
runs a command and migrate these new subscriptions to otrher platform
kind of that
I don't know the rest of it but you can use fputcsv to convert array to csv
https://www.php.net/manual/en/function.fputcsv.php
I have not problem with this, but dont see how to chain multiple OR in query
stripe-php does that
How about retrieving entire subscriptions and filtering it in iteration
You can't specify a list of statuses, its either one of them or you specify all then filter the results
So you might want to do that
how is that docs say you can chain them through OR ?
You can combine multiple query clauses in a search by either separating them with a space, or using the AND or OR keywords (case insensitive). By default, the API combines clauses with AND logic. AND and OR operators are mutually exclusive.
Otherwise you can use the Search api: https://stripe.com/docs/search#query-fields-for-subscriptions
status is a field for search for subscriptions
That's for search, not list, they are different
oh I see