polarsource / polar

An Open Source Lemon Squeezy alternative with better pricing! Get paid coding on your passion.
https://polar.sh
Apache License 2.0
2.84k stars 115 forks source link

Some subscriptions tiers not being shown in dashboard vs. public page #3007

Closed birkjernstrom closed 6 months ago

birkjernstrom commented 6 months ago

@patrick91 behind strawberry-graphql has 4 paid subscription tiers that are shown on the public page, e.g https://polar.sh/strawberry-graphql/subscriptions

However, within his own dashboard he can only see 2 of them ("Friend of Strawberry" & "Silver Sponsor").

zegl commented 6 months ago

Huh, something is off with the limit on the list tiers API.

With the default limit of "30", 3 tiers are returned:

https://api.polar.sh/api/v1/subscriptions/tiers/search?limit=30&organization_name=strawberry-graphql&platform=github

With an increased limit, they are all there:

https://api.polar.sh/api/v1/subscriptions/tiers/search?limit=3000&organization_name=strawberry-graphql&platform=github

I'll investigate and fix this...