Jump to content

Patreon Integration


batarjal

Recommended Posts

19 hours ago, batarjal said:

That setting removes the selected secondary groups, it is unchecked after reloading but there are also no secondary groups selected anymore so they won't be assigned.

Okay, but my members still get assigned a secondary group after connecting their Patreon account. For instance, a member who was in the group "Senior Member" gets moved to the group "Patron" and then "Senior Member" becomes their secondary group. So I have to go and manually remove the secondary group for every member.

20 hours ago, batarjal said:

You can change the  in the 'Do you support ___ on Patreon' translation: ACP > Customization > Languages > Translate > search for 'patreon_connect_link_description' and replace the %s with any text you like.

What about the title above it?

Link to comment
Share on other sites

  • 1 month later...
Just now, Parilar said:

Patron Count Goals also doesnt work.

Yes, the patreon API does only support $ based goals.

On 4/23/2020 at 10:10 AM, Kirill N said:

Okay, but my members still get assigned a secondary group after connecting their Patreon account. For instance, a member who was in the group "Senior Member" gets moved to the group "Patron" and then "Senior Member" becomes their secondary group. So I have to go and manually remove the secondary group for every member.

What about the title above it?

The title is not a language variable right now, I'll change that with the next update.

Quote

For instance, a member who was in the group "Senior Member" gets moved to the group "Patron" and then "Senior Member" becomes their secondary group. So I have to go and manually remove the secondary group for every member.

I'll make the adding the old group as secondary group optional in the next update.

 

Just now, opentype said:

By the way: The Patreon API is no longer actively maintained. 

https://www.patreoncommunity.com/t/an-update-on-patreon-s-api/8628

I think not much will change as the API didn't get any updates in the last years. I added a note on the marketpace page.

Link to comment
Share on other sites

  • 6 months later...

Hello! The option to update pledges in the ACP doesn't seem to be working, either that or I don't understand what it's supposed to do.

One of my new patrons connected his Patreon account before pledging, and now I can't get his status to update and get his group assigned via the ACP. When I click the "Update Pledges" button, the status column shows api error, even for members who are correctly pledged, connected and have had their group assigned.

Edit: System log is getting absolutely spammed with this:

array (
  'errors' => 
  array (
    0 => 
    array (
      'code' => 1,
      'code_name' => 'ParameterInvalid',
      'detail' => 'Invalid parameter for \'Unknown\': Unknown misencoded parameter value.',
      'id' => 'b25e19e0-46a1-4c5d-a744-4983a0d2d7eb',
      'status' => '400',
      'title' => 'Invalid value for parameter \'Unknown\'.',
    ),
  ),
  'url' => 'https://www.patreon.com/api/oauth2/api/campaigns/92426/pledges?page%5Bcount%5D=10&sort=created&page%5Bcursor%5D=2014-11-21T14%3A22%3A25%2B00%3A00',
)

Edit 2: I got that sorted out by updating some software on the server, but now I ran into another issue.

Said Patron didn't select a tier when making a pledge. Is there a way to assign patrons to groups regardless if they chose a tier or not?

Edited by Lucas von Mecheln
Link to comment
Share on other sites

  • 1 month later...

Would it be possible to have an option where linking your Patreon to an IPS account is permanent? Or only allow administrators to disconnect an account?

We have an issue with users linking their Patreon account, redeeming all their rewards, unlinking the account, creating a new account on our website, linking their Patreon account again, and then redeeming all their rewards twice.

If we had a system that made linking your Patreon account a permanent action (unless an administrator intervenes) that would solve this issue. Would this be possible?

Link to comment
Share on other sites

On 1/4/2021 at 7:51 PM, Lucas von Mecheln said:

Hello! The option to update pledges in the ACP doesn't seem to be working, either that or I don't understand what it's supposed to do.

One of my new patrons connected his Patreon account before pledging, and now I can't get his status to update and get his group assigned via the ACP. When I click the "Update Pledges" button, the status column shows api error, even for members who are correctly pledged, connected and have had their group assigned.

Edit: System log is getting absolutely spammed with this:


array (
  'errors' => 
  array (
    0 => 
    array (
      'code' => 1,
      'code_name' => 'ParameterInvalid',
      'detail' => 'Invalid parameter for \'Unknown\': Unknown misencoded parameter value.',
      'id' => 'b25e19e0-46a1-4c5d-a744-4983a0d2d7eb',
      'status' => '400',
      'title' => 'Invalid value for parameter \'Unknown\'.',
    ),
  ),
  'url' => 'https://www.patreon.com/api/oauth2/api/campaigns/92426/pledges?page%5Bcount%5D=10&sort=created&page%5Bcursor%5D=2014-11-21T14%3A22%3A25%2B00%3A00',
)

Edit 2: I got that sorted out by updating some software on the server, but now I ran into another issue.

Said Patron didn't select a tier when making a pledge. Is there a way to assign patrons to groups regardless if they chose a tier or not?

I didn't consider this, I'll add a 'tierless' level for the next update

 

Quote

Would it be possible to have an option where linking your Patreon to an IPS account is permanent? Or only allow administrators to disconnect an account?

We have an issue with users linking their Patreon account, redeeming all their rewards, unlinking the account, creating a new account on our website, linking their Patreon account again, and then redeeming all their rewards twice.

If we had a system that made linking your Patreon account a permanent action (unless an administrator intervenes) that would solve this issue. Would this be possible?

Yes, I'll add that in the next version

Link to comment
Share on other sites

  • 1 month later...

Hey Batarjal,

I see Patreon members on the back end and in the Patreon relationship manager that say no active pledge on the IPS back end.

There's a disconnect here, even if I update pledge it does not seem to work.

Care to take a chance to debug?

Cheers,

Vice.

Link to comment
Share on other sites

  • 1 month later...
Posted (edited)

It seems like either API doesn't work or the integration, I have 2 people that already canceled their pledge, but it still displays them as active patreons and gives their ranks back each time I remove it, "Update tiers" button doesn't seem to work in this case. All tokens are right

After removing Patreon linked account from user, it still leaves him with primary group, the same happens if pledge ends. It either leaves them with all groups, or only with primary group.

Edited by HeavyWolfPL
Link to comment
Share on other sites

  • 2 weeks later...

I just double checked and everything should be working as intended.
When a member removes their Patreon pledge the Patreon members page in the ACP should show 'no active pledge' at the next update interval or when you manually click 'Update Pledges'

Is the status still verified after updating the Pladges?
Does the 'Updated' date change?
Can you verify that the accounts are really not listed anymore on the Patreon page?
Are there any patreon related errors in the System Logs? If so please sent them via PM.

Link to comment
Share on other sites

  • 2 weeks later...
On 6/12/2021 at 11:47 PM, batarjal said:

I just double checked and everything should be working as intended.
When a member removes their Patreon pledge the Patreon members page in the ACP should show 'no active pledge' at the next update interval or when you manually click 'Update Pledges'

Is the status still verified after updating the Pladges?
Does the 'Updated' date change?
Can you verify that the accounts are really not listed anymore on the Patreon page?
Are there any patreon related errors in the System Logs? If so please sent them via PM.

So far everything works, but I will check again after the month ends.

I know that only dollar goals are supported, but this is kind of weird.image.png.f578a7bf574ec88234f73cdc633142bc.png
That person supports us in his own currency by paying 45SEK which then ends up saying that he pays $45 instead of 45SEK.

Link to comment
Share on other sites

On 6/27/2021 at 1:22 PM, HeavyWolfPL said:

So far everything works, but I will check again after the month ends.

I know that only dollar goals are supported, but this is kind of weird.image.png.f578a7bf574ec88234f73cdc633142bc.png
That person supports us in his own currency by paying 45SEK which then ends up saying that he pays $45 instead of 45SEK.

The API just doesn't return any currency. I have no experience with payments from different currencies - Is everything just converted into SEK by patreon? Then I could just make the currency icon configurable.

Link to comment
Share on other sites

1 hour ago, batarjal said:

The API just doesn't return any currency. I have no experience with payments from different currencies - Is everything just converted into SEK by patreon? Then I could just make the currency icon configurable.

All I can see is that he supports us with SEK on minimal tier which equals $5. Actually he supports us no longer, as I don't see him as verified in the ACP.

Link to comment
Share on other sites

Posted (edited)
On 6/12/2021 at 11:47 PM, batarjal said:

I just double checked and everything should be working as intended.
When a member removes their Patreon pledge the Patreon members page in the ACP should show 'no active pledge' at the next update interval or when you manually click 'Update Pledges'

Is the status still verified after updating the Pladges?
Does the 'Updated' date change?
Can you verify that the accounts are really not listed anymore on the Patreon page?
Are there any patreon related errors in the System Logs? If so please sent them via PM.

So I've got two users with no active pledge, but they are still left with the Supporter role. No system logs related to these users at all.
image.thumb.png.00265ef44eb3ee7dc789509286e304ed.png
image.png.af99fb14a2c5d1c0ba6ac281aff27cde.png
image.thumb.png.7d60d06e64fec53f4e1d72d5257053d6.pngimage.png.8d86666c7e15f7d75963a1e4721852c6.png

Also users get the Supporter role added both as main and additional.

Edited by HeavyWolfPL
Link to comment
Share on other sites

  • 1 month later...

Is there a known issue with groups not being removed correctly? I have it set to remove people from mapped groups if it was not given to them automatically but it's not removing groups from people with no pledge and I don't see any sort of logs about any issues.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...