I am a newbie to Patreon.
I have some tasks I will like to resolve here… I will appreciate some patience and honest guidance. Thank you everyone.
I’m setting up a book database that will display google adsense ads. I want to be able to remove ads for people who support the site on patreon. I have WP Bakery, so I can disable certain elements based on role. I also have Userpro, which has the ability to allow users to submit inputs for custom fields (in this case the email they use for patreon).
Breaking it down:
I need to prevent the same custom field input (patreon email) being used twice
I need to check the custom field input (patreon email) against the retrieved email from patreon patreon
I need to see if the current pledge is active
I need to see if the current pledge is above $2.99
If the current pledge is active AND above $2.99 AND the custom field input matched that retrieved from patreon then I need a specific role (customer) assigned to the user
If the current pledge is inactive OR below $3.00 OR the custom field input does not match that retrieved from patreon then I need the role removed and returned to the default (subscriber)