Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Polar.sh provider #66

Merged
merged 5 commits into from
May 6, 2024
Merged

Conversation

Julien-R44
Copy link
Contributor

@Julien-R44 Julien-R44 commented May 6, 2024

Description

Add Polar as provider.

Linked Issues

Close #65

Additional context

There's some information I don't have right now because i am new to Polar.sh. For example : I'm not sure what the status of a subscriptions means. Does an inactive status mean that the person is a past sponsor?

I'll soon have answers to these questions, when some people will unsubscribe from my Polar. And I will do a new PR to update the code if there's anything wrong with our implementation. In the meantime, we're just keeping the active subscriptions and those with a defined price. and it seems to working fine

src/providers/polar.ts Outdated Show resolved Hide resolved
src/types.ts Show resolved Hide resolved
Co-authored-by: Anthony Fu <github@antfu.me>
Copy link
Member

@antfu antfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clean and prompt implementation!

@antfu antfu merged commit 40eb415 into antfu-collective:main May 6, 2024
1 check passed
@Julien-R44 Julien-R44 mentioned this pull request May 6, 2024
@birkjernstrom
Copy link

Oh wow - thank you so much @Julien-R44 for adding this & @antfu for building this great kit ♥️

StarHeartHunt pushed a commit to MooncellWiki/sponsorkit that referenced this pull request May 8, 2024
StarHeartHunt pushed a commit to MooncellWiki/sponsorkit that referenced this pull request May 8, 2024
StarHeartHunt pushed a commit to MooncellWiki/sponsorkit that referenced this pull request May 8, 2024
Co-authored-by: Anthony Fu <github@antfu.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polar.sh support
3 participants