There is a new function/bug on the stripe trigger node.
when you want to test one of your workflows it will create a webhook in stripe and as soon it receives the call it deletes it.
This doesn’t allow you to send the request a second time, but you need to trigger the webhook repeating the actual request.
For example:
I’m testing a workflow to save stripe finalized invoices in a database.
I don’t want to create an invoice from the Stripe dashboard every time I want to test the workflow.
I would prefer just to use the resend option, but you can’t if the webhook is been canceled.
if it’s there is a bug when you try to save, because N8N can’t find the webhook (probably because it’s been canceled) and give an error.
## Problem
There was a problem and the workflow could not be activated:
*The resource you are requesting could not be found*
Show Details
Stripe Trigger: No such webhook endpoint: 'we_1JcVYpKZv6************'
@Skywrath-Mage, I was able to replicate the issue. When I try to activate the workflow it throws the same error. I see that Stripe has a Test Environment as well. Did you try using that?
when I first try your stripe module, I supposed that the test was using test and that prod was using stripe prod.
But nope, it is for the same stripe environment.
If I am not wrong, Stripe gives you different Secret Key based on the environment. I am assuming, since we are trying to activate the workflow using the Secret Key for the Test env, Stripe is not registering the webhook and hence the error.
I can see we have an internal ticket for this one that is marked as closed but I can’t find a PR that goes with the ticket. Out of interest what version of n8n are you running?