• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

No email address inn WHMCS?

ssm

Member
I am trying to create a trigger from a new order in WHMCS. I see numerous bits of data, but not the email address associated with the new order. How do I get that data?
 

Supreme

Well-known member
Staff member
Hey @ssm

Can you please try capturing a new webhook response and check the contact Id or client Id once? So that we can guide you further on the same.
 

ssm

Member
What I see in the "Response Received" is the correct Userid, correct client Name, and Contactid is 0. There is no field for email.
 
Last edited:

Supreme

Well-known member
Staff member
But did you capture the webhook response since in your WHMCS there is no contact with the 0th contact ID?
 

ssm

Member
My info is from the "Response Received" when I initiated a WHMCS trigger for a new order. I assume that is from the webhook, but there is no separate option to get a webhook from WHMCS, from what I could see.
 

Supreme

Well-known member
Staff member
Hey @ssm

Can you please contact the WHMCS team once how you can get the since we couldn't find any response in which the application provides the email address or proper contact id to retrieve?


1675151335430.png
 

ssm

Member
Here is the response from WHMCS:

Whilst WHMCS does not have an official integration to support a direct connection to Pabbly, it does appear that Pabbly is creating their own API queries to your WHMCS installation to retrieve this data.

To resolve this error, the integration developer (Pabbly) would need to revise their logic to query GetContacts or GetClientsDetails from the data present within the GetOrders API that I assume they are retrieving order data from.

For example, using the GetOrders API will return a userid which may be used to retrieve the client details or a list of contacts for that client via another API call to GetContacts or GetClientsDetails.

The above API endpoints and our entire API index may be found below:
GetClientsDetails - https://developers.whmcs.com/api-reference/getclientsdetails/
GetContacts - https://developers.whmcs.com/api-reference/getcontacts/
API Index - https://developers.whmcs.com/api/api-index/

Whilst we cannot assist with debugging or creating third-party code as part of WHMCS Technical Support, I would also recommend reaching out to our Developer Corner where our community of experts would be happy to collaborate: https://whmcs.community/forum/41-developer-corner/

Thank you for reaching out and if you have any questions or I may be of further assistance, please do not hesitate to reply.
 

Supreme

Well-known member
Staff member
Hey @ssm

We have tried the "Get Cleints Details" action step now, showing the desired results.

Please try this on your end, I hope this might help you.

1675317096150.png
 
Top