stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

testing webhook invoice.upcoming with stripe CLI results in "invoice.upcoming not supprted by stripe CLI"

Open Christopher-Jakob opened this issue 2 years ago • 2 comments

I have been asked by stripe support to reach out to github regarding this issue.

Here is their email:

Hi Christopher,

Thanks for your reply with that video. I've done some digging on this for you and hope to be able to lay out the next steps in getting this resolved for you here.

After further investigation, what I'd advise you to do here would be to reach out to GitHub for clarification on why you are having this issue with the Stripe CLI. The reason for this is that you are receiving errors that events are not supported by the CLI when they should be, and the Github for that would be the best place to troubleshoot this further. You can reach out to them at the following link:

https://github.com/stripe/stripe-cli/issues/new/choose

I know this may not have been the answer you wanted and I empathise that this has been frustrating for you, but I can assure you that the link above would be your best option to get this issue resolved. In the meantime, if you have any other questions on this or any other topic then feel free to reply here again and I'd be happy to help in any way I can.

Kind regards,

Marc.

I sent them a 4 minute video of the issue I was having. I'll post it here as well.

video: https://drive.google.com/file/d/1jCu_Ct8tPrCKaC4w0jTtbK1wjqO7nmCS/view?usp=sharing

The issue is clearly explained in the video, but the clff notes are here.

I am using stripe cli version: stripe version 1.8.5

Following the stripe documentation, I installed and logged into the stripe cli. I then attempted to test fire the "invoice.upcoming" webhook to which I then recevied the error. "invoice.upcoming not supprted by stripe CLI" The docs state that the webhook should be supported, and stripe support says that the webhook should be supported.

Any words of what can be done?

Christopher-Jakob avatar Apr 05 '22 22:04 Christopher-Jakob

Hi @Christopher-Jakob,

The message you are seeing "invoice.upcoming not supprted by stripe CLI" is indeed expected. invoice.upcoming is not a supported event in the Stripe CLI at this time. This can be confirmed by running the following in the terminal or command prompt:

$stripe trigger --help

As you can see, this event is not supported at this time. Please also see the screenshot attached below of the result in my terminal.

Best regards, Hector

Screenshot 2022-04-17 at 14 53 42

haor1 avatar Apr 17 '22 18:04 haor1

There should be an opened task for this: #558

httpiga avatar Apr 29 '22 09:04 httpiga