Skip to content

fix: incorrect shows the tier for the user with a gifted membership for Patreon#112

Merged
antfu merged 1 commit intoantfu-collective:mainfrom
ycs77:fix-patreon-incorrect-tier
Jun 15, 2025
Merged

fix: incorrect shows the tier for the user with a gifted membership for Patreon#112
antfu merged 1 commit intoantfu-collective:mainfrom
ycs77:fix-patreon-incorrect-tier

Conversation

@ycs77
Copy link
Contributor

@ycs77 ycs77 commented Jun 13, 2025

Description

The background is my Patreon memberships have someone who has a gifted membership is Generous Backer tier, but shows the member into the Backers tier in the generated sponsors image:

sponsors-unfix

Because he has a gifted tier, and there is no investment money.

And this is my expected result:

sponsors-fixed

Therefore, this PR adds a confirmation that if the member's monthlyDollars is 0, the member's tier amount will be automatically obtained.

Linked Issues

Additional context

How to gift memberships to other fans – Patreon Help Center

Reference Patreon API: https://docs.patreon.com/#get-api-oauth2-v2-campaigns-campaign_id-members

@antfu antfu merged commit 3c3d93c into antfu-collective:main Jun 15, 2025
1 check passed
ReenigneArcher pushed a commit to LizardByte/contribkit that referenced this pull request Jun 15, 2025
@ycs77 ycs77 deleted the fix-patreon-incorrect-tier branch July 8, 2025 12:57
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.

2 participants