Webhooks not triggered for messaging_postbacks - webhooks

I am not receiving Webhooks for messaging_postbacks, when general user, who does not have a role in our App, is replying to our Private Reply message. I have the following advance access permssions: pages_messaging, pages_read_user_content, pages_read_engagement, pages_show_list, pages_manage_metadata. I was able to receive Webhooks when role-based user sends us reply. I am also in Live-Mode.
I have subscribed to all the subscriptions required.
Can anyone help me with this issue? Thanks in advance.

Related

Getting Payments Alert from Stripe without Webhook

The default way for third party clients to be notified when a payment has happened on stripe is mostly via Webhooks. However, I do not want to stress my users by giving them a webhook url to paste in their stripe dashboard to be notified when payment has happened. I want to simplify the process for them. Is there an alternative flow?
I'm looking at something similar to Sign In With Google once they authenticate the app against their stripe dashboard, payment alerts can be seemlessly retrieved.
Going through the Stripe connect Docs and I'm not sure Connect can be used to achieve this. I stand to be corrected though.
I need to implement this in NodeJS.
Any insights would be really appreciated.
Thank you.
It's not entirely clear what you're trying to achieve, but it sounds like you're operating as a platform and want to send some message to your users (who are Stripe account holders) to notify about payments.
You can do this using Connect webhooks to listen for payments on those connected accounts, eg by listening for payment_intent.succeeded or what is relevant for your integration.
You, as the platform, would set up a webhook to listen for these events, then you can use whatever communication channels you prefer with your users to notify them (eg: email, SMS, in-app notification etc)

Xero Webhook not receiving events despite ITR status being OK

Good Day to all. I am trying out the Xero webhook in a local setup.
Environment:
Node js backend
Using Ngrok for hosting the endpoint publicly
Xero Trial Account
I was able to successfully set up the webhook. My service received 3 unauthorized (401) calls and 1 successful (200) call, which made the ITR status OK.
However, after the ITR success, I tried creating a contact, updating an existing contact and updating an invoice and waited for nearly 10 to 15 minutes and I did not receive any events to the webhook endpoint.
Not sure if I have missed any steps? Any pointers to why I am not receiving the events?
Is there any way I can see if the events that are fired from the Xero side?
Does the webhook work only for Partner apps?
Not sure what I am missing here. Appreciate any help on this.
Cheers!
Can you confirm that your Trial organisation is connected to the app? If not, following the Postman tutorial will ensure that it is connected.
https://developer.xero.com/documentation/tools/postman

Incoming webhook have a risk?

The webhooks endpoint is visible by the group member. If the group member share the webhooks endpoint to other. If someone with malicious intent got that URL, he/she could send Actionable Message with form and send the contents of that form to endpoint that is beyond your control.
Is that will caused outsider to send many junk message to Teams?
How can I solve this problem?
Can I set the webhooks endpoint only visible by the group admin?
By definition webhooks are un-authenticated. Anyone who has the URL can send to it...just like an email message.
If the webhook is compromised, delete it. It can no longer be used once it's deleted.

How to restrict messages from notification HUB to authenticated users?

I heard that in order to restrict push notifications (from notification HUB) so that only authenticated users will receive messages, I have to check in the "Only Authenticated Users" checkbox. But I am not able to find it, I can see only "AUTHENTICATION REQUIRED" but that option is only if I need to add custom tags, in order to filter who is getting the message.
Could someone please direct me to a tutorial or something?
Please refer this. This explains how to setup.
https://adrianhall.github.io/develop-mobile-apps-with-csharp-and-azure/chapter5/concepts/

Twilio Inbound SMS issue using Node.js

I am trying to set up a node.js app as listener for twilio inbound sms.I have created a twilio account which gave me trial sandbox number(USA).
Using this trial number I was able to successfully send SMS to verified mobile numbers But when I send SMS to the sandbox trial number my app is not able to receive the same and twilio logs also didn't show up the inbound SMS details.
I have configured the end point in twilio SMS URL and the end point is accessible.
Are there any restrictions for inbound SMLS for twilio trial sandbox number. I have sent multiple messages to the number but still no luck.
Please note am trying to send SMS to a US twilio sandbox number from India. Could you suggest what I am missing.
Twilio Developer Evangelist here,
I apologize for this issue you are running into. I have just recreated this issue, as did another member of my team. A bug report has been filed.
Keep in mind, you can still obtain a unique Twilio number while using a trial account. See the Getting Started page to get your Twilio number. This will allow you to use our API while still being on a trial account. The limitations of trial accounts can be found here.
Thanks for bringing this to our attention, we'd love to mail you a Twilio t-shirt to say thank you. Since Stack Overflow doesn't allow for private messaging, please shoot me a private message on twitter to #br0dan with your address and t-shirt size.

Resources