You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling the syncSubscriptions route, we don't necessarily retrieve all subscriptions from Google Play, PayPal, and the database. For example, our current implementation of paypal.listPlans won't return more than 10 plans, and we don't specify a page size when calling Google Play so we'll get at most 50 subscriptions back.
The route probably works fine at the moment since we have a very small number of subscriptions and plans, but if that number grows we will eventually stop synchronizing plans properly.
Acceptance criteria
We retrieve all plans from PayPal.
We retrieve all subscriptions from Google Play.
We retrieve all subscriptions from the database.
Optionally, we stop fetching individual subscriptions from the database here. We're already getting the entire set of subscriptions so we can avoid making additional queries.
The text was updated successfully, but these errors were encountered:
When calling the
syncSubscriptions
route, we don't necessarily retrieve all subscriptions from Google Play, PayPal, and the database. For example, our current implementation ofpaypal.listPlans
won't return more than 10 plans, and we don't specify a page size when calling Google Play so we'll get at most 50 subscriptions back.The route probably works fine at the moment since we have a very small number of subscriptions and plans, but if that number grows we will eventually stop synchronizing plans properly.
Acceptance criteria
The text was updated successfully, but these errors were encountered: