Best answer

Discord + PayPal Find User

  • 19 February 2021
  • 6 replies
  • 467 views

Userlevel 1

I am trying to make a zap that will connect a Paypal subscription service to adding a role in Discord. I am trying to add the Find User action but I am sure what to put in the “username” tab. I am guessing it is the Discord userID but how do I add that if the only options I see are for PayPal? Which one of the Paypal options should I use (ex. Name, Email, PayerID etc.) Thanks

icon

Best answer by jesse 4 May 2021, 22:54

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

6 replies

Userlevel 7
Badge +14

Hi @VinstockTrading 

When in doubt, test it out!

 

Userlevel 1

Hi @Troy Tessalone ,

ya, that is what I am attempting to do but I am unsure what to put in the actions tab. Everyone I have tried, like name, email, PayerID etc., doesn't work. Do you know what to put in there? 

The only options are from info collected in “successful purchase” in paypal

Userlevel 7
Badge +14

@VinstockTrading 

Appears that the field expects the Discord username.

You’d have to create and maintain some sort of lookup table (e.g. GSheets) to reference in the Zap.

Userlevel 1

@VinstockTrading

Appears that the field expects the Discord username.

You’d have to create and maintain some sort of lookup table (e.g. GSheets) to reference in the Zap.

but how do I actually receive the Discord Username? How does PayPal retrieve the Discord ID. Cause how do i add someone’s discord username to the google sheet if i cant find it 

 

Userlevel 7
Badge +14

@VinstockTrading 

Not sure honestly.

Discord has limited triggers/actions/searches available for their Zap app: https://zapier.com/apps/discord/integrations#triggers-and-actions

You can open a ticket with Zapier Support here: https://zapier.com/app/get-help

Userlevel 7
Badge +9

Hey @VinstockTrading just wanted to follow up here! Unfortunately, without having a list of Discord usernames in a lookup table like Troy has mentioned, this will be a bit difficult to accomplish. Ideally, it would be easier if the Discord app allowed you to search usernames by email. We do have an open feature request for this so I’ve made sure you were added to the list. Should this get added, we’ll email you to let you know. 

To offer a more technical explanation, while there is an email element in the table of user objects (https://discordapp.com/developers/docs/resources/user#user-object), the email is only retrievable if the user who we're looking for has authorized Zapier to their account with OAuth2, granting the email scope. Therefore, it is not possible look up arbitrary users by email with the Discord API, as it's not exposed unless they have explicitly granted permission. For it to be possible within Zapier, it first needs to be possible within an app’s API.