How do I assign/discard specific Discord roles based on WordPress site subscriptions?
Hi,
I searched the forum but couldn't find an answer.
I need path: - if someone buys / has an active subscription on the website (wordpress) then he has a specific role on the Discord channel - if the subscription ends, this role is taken away from him
For me it is incomprehensible how discord is supposed to find a user. There is no username field in the order in Discord.
Hi,
does anyone know if I can buy a more expensive plan to support me in such integration as I described help?
Because I see that the problem here is unknown.
Hi @Anna93, welcome to the Community!
Ah, yes it’s currently only possible to search for a user by username so if that information isn’t captured in WooCommerce when ordering, a Find User (Discord) action isn’t going to allow you to locate the correct user in Discord. A more expensive plan wouldn’t solve this unfortunately.
We have an existing feature request for the ability to search for users by email which would allow you to take the email address associated with the WooCommerce order and search for the corresponding user in Discord. This was discussed previously in Community here:
I’ve gone and added your vote to that feature request as it would be what you’d need to get the Zap to assign to role to the correct user in Discord. I can’t make any promises as to when/if that feature request would be added but we’ll be sure to email you as soon as it is.
In the meantime, one workaround I can think of would be to add an additional required field to the checkout so that when customers place an order you’re able to capture their Discord username. This would allow it to be sent through from WooCommerce along with the other order details. Not an ideal solution I know, but hopefully it’ll help to get you up and running in the meantime?
Thank you very much for your answer.
I added a username field in the order form. It still does not work.
My subscription is paid for by the Stripe plugin. Not PayPal.
@Anna93
We would need to see updated screenshots with how your Zap steps are configured to have context.