Hi. I have issues with fetching a patron details by patron’s id. Here is use case.
I’ve added Login with Patreon option to my webpage, and it works well. When someone login with Patreon successfully, I store his/her Patreon id and set remember token to login the member automatically when he/she visits my page next time. But before I let them see the all content, I want to check whether I received any payment. That’s why I need to get my patron details. To do that I tried:
• fetch_user() but it returns my account details instead of logged-in user.
• fetch_user() with the access token that returns from Patreon when someone login, but it returns unauthorized.
• fetch_member_details() but it doesn’t work with the id I passed, which is an integer.
• fetch_page_of_members_from_campaign() and fetch_member_details() but it takes ages to get data, which is unacceptable.
So, how can it be done?
Thanks in advance.