#cavint9510
1 messages · Page 1 of 1 (latest)
It will take some time for the subscription to be searchable
emmm how many time?
We don't have SLA for that
Because I want to prevent duplicate subscriptions
What is your criteria of check? It might be achievable through other methods instead of using Search Subscription API
I'll check if the user has a subscription when i create a subscription.
To ensure subscription only created once.
because in my local,only when "invoice.paid" event came, i create a local subscription.
You can use List Subscription API with customer field set to check if this specific user has a subscription created: https://stripe.com/docs/api/subscriptions/list
i can list subscription by customer immediately when i created a subscription?
Yes!
ok