Stripe API / CLI: List webhook attempts like what is shown in the web UI - api

Use case: I want to only resend webhook attempts that I know never succeeded for specific webhook endpoints (i.e. using the webhook endpoint ID) without logging into the web UI. However, I have not been able to find a way to list the webhook attempts with details (like it does in the web UI) through the API or CLI tool.
So far I can find events that have unsuccessful webhook deliveries, but it only lists how many webhooks were unsuccessful (pending_webhooks > 0), but no webhook endpoint ID or anything else more specific.

This is not currently possible. You'd need the retrieve the IDs of the specific Event objects you want to re-send before using the CLI. The only way to do that currently is to view the webhook attempts via the Dashboard UI.
stripe events resend evt_xxx --live

Related

WhatsApp messaging webhook does not work in production mode

I am trying to create a connection between our WhatsApp Business account and our website where we gather all messages sent to our business on different channels (through our own app, text, WhatsApp, ...).
I've followed this tutorial (https://developers.facebook.com/docs/whatsapp/cloud-api/get-started) and have everything set up: our WhatsApp Business is working correctly, I've added a Meta App and I've set up the webhooks with a connection to my node.js backend.
When I click Test next to the "Messaging" webhook, I receive the message on my node.js backend and website. So I know this side is working as it should.
I've then used the Graph API to subscribe my Meta app to the messages with the business id of the WhatsApp with the correct permissions. When checking the subscribed apps with the {business_id}/subscribed_apps endpoint, I can see my Meta app. So I believe everything is set up correctly.
My Meta app is also set to "production".
However, when I try to send a message with my personal WhatsApp to my business WhatsApp, I receive nothing on the webhook.
I checked the logs on my server and nothing is being received, so I know it's not an issue in my node.js backend.
Is there something else I need to do to make this work? Does the Meta app need to be verified to use the webhook in production? If so, how can I do this? The guide for verification says I need a platform and login insctructions, but the Meta app is really only a webhook without an interface.
Thanks in advance.

Storefront event webhooks in Shopware 6 app development

I developing an app and basicly if an user loaded a product in the storefront it should send a request to my server. So i thought thats possible with webhooks. But unfortunately there is no webhook for this case.
The closest thing i could find is the product.written webhook but that seems useless for my case.
Anyone has an idea how i could realize my request?
I use Shopware 6.4.11.1 as development enviroment.
Although I have not found any appropriate webhook in the webhook events reference, this may be doable in a slightly different way, without using the Shopware App Webhook mechanic.
In the Shopware documentation there are shown ways to add Storefront scripts to an app. There is even an example for product-page-loaded. You would be able to execute some of your own code in there, but honestly I have not tried to ping external servers like this and I can't tell you that this will surely work.
You could also potentially add some custom JS code that pings your server with the appropriate info.
Unfortunately I don't think you can compel Shopware to send a request from its backend on a ProductPageLoadedEvent

validating podio web hook to gitlab

I created a hook in Podio that calls a gitlab repository when a Podio item is changed. The repository then calls a pipeline that accesses the Podio API. The whole setup is working except that I am unable to verify the Podio hook: The Podio API requires some verification process (https://developers.podio.com/doc/hooks) to be completed but I am unable to do this since I don't have control over how Gitlab deals with hooks. Is there a way to get my use case working?
Yes your webhook receiver code needs to respond with an API callback that is specific for the initial verification step. In the API the "verify" is named as "validate"
https://developers.podio.com/doc/hooks/validate-hook-verificated-215241
https://developers.podio.com/examples/webhooks

Add dropbox webhook by code

We're exploring dropbox api reference. Concretly, we're exploring webhook possibilities.
We're not quite to know how to specify a webhook url by code.
We are lokking for a way to add this webhook url avoiding user has to do it manually.
I hope I've explained so well.
It's not possible to programmatically register a Dropbox webhook URI. We'll consider it a feature request.
Developers should register their webhook URI(s) manually via the App Console. Those webhook URIs will stay registered and will be used for all users connected to the app.

Dynamic callback URL's for Instagram Auth

I have different clients using my cloud app.
They all have different URL's to access the cloud application. They have the option to add Instagram as a social media channel and perform multiple tasks over it.
Now to perform any action over Instagram, they all need to authenticate themselves via myInstagram App. So I need to manually put a new callback URL every time a new client request for Instagram. Is there is any way to make Callback URL's dynamic on Instagram?