Upgrade Patreon Discourse Plugin to API v2

Hey folks :waving_hand:

The Patreon Discourse plugin is still using Patreon’s API v1, which has been deprecated for several years. To keep the integration working properly, it needs to be updated to use API v2.

Patreon’s API v2 is the supported version and provides equivalent functionality to v1, along with a more consistent data model and improved resource relationships.
Docs:

Key migration notes:

  • Some API calls currently using /api/oauth2/ will need to be updated to the v2 endpoints.

  • The users of the plugin will need to create new Patreon OAuth clients with v2 scopes during the migration. v1 clients aren’t compatible.

  • The data structure (e.g. campaign, member, pledge) is modeled differently in v2.

I would like to know what’s the process for these kind of updates. Happy to help with guidance on this migration.

Thanks for maintaining this integration :folded_hands:

1 Like

I wanted to follow up on this topic. Is this plugin still being actively maintained, or should we assume it is inactive and accept that the termination of the v1 API will result in the plugin no longer working?

Yes. I believe it is still actively maintained, as it’s an official plugin, has been included-in-core, and has the most recent commit only last week.