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
Currently this call requires checking against the Stripe API on every request, which won't scale forever.
We currently cache the subscriber list in the database (syncSubs background process), so we can check the DB instead.
This doesn't update immediately though (it runs on an interval), so we have to make sure that new subs get this updated so they see the sub effects right after subscribing
The text was updated successfully, but these errors were encountered:
howardchung
changed the title
replace getIsSubscriberByEmail with getIsSubscriberByUID
getIsSubscriberByEmail check DB instead of stripe
Jan 13, 2024
Currently this call requires checking against the Stripe API on every request, which won't scale forever.
We currently cache the subscriber list in the database (syncSubs background process), so we can check the DB instead.
This doesn't update immediately though (it runs on an interval), so we have to make sure that new subs get this updated so they see the sub effects right after subscribing
The text was updated successfully, but these errors were encountered: