#shaya8089

1 messages · Page 1 of 1 (latest)

balmy gateBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tidal gull
#

I tried the following:

stripe events resend evt_*** --stripe-account=acct_*** --webhook-endpoint=http://myendpoint
#

It's a webhook that is forwarded to localhost with stripe listen

undone delta
#

What happens when tried the above command?

balmy gateBOT
tidal gull
#
{
  "error": {
    "message": "You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?",
    "request_log_url": "https://dashboard.stripe.com/acct_1HOi0zBZ8ZBlypAn/test/logs/req_9P9PlkgtztdPlI?t=1701270387",
    "type": "invalid_request_error"
  }
}


narrow briar
#

Thanks for the error message, looking in to what you can do here.

#

So you should create a connect endpoint for that URL in the dashboard if you have not already and then pass that ID when making this request again with the CLI

tidal gull
#

Thanks for the reply,

Is it not possible to achieve with a local listener (set up with stripe listen as I mentioned earlier)?

narrow briar
#

Good question. Do you have other test mode endpoints that you don't want to send these events to?

#

If so you can just make that resend request without specifying an endpoint and that should get sent to the local listener properly

#

I can check in to how to specify the local listener only but if you don't have a reason to just specify that endpoint it may make more sense to just exclude the parameter