#KarlS-webhook
1 messages ยท Page 1 of 1 (latest)
really? ok, so for example, I received a payment earlier today and collected a charge.succesful event on my backend but realizing that I really need the invoice.paid event.
Yeah, then from Stripe CLI you can
stripe trigger invoice.paid
isn't that just a test?
I need to reprocess an invoice.paid on an item received earlier today.
*I need to trigger..
Oh I see, so you want to resend an event?
yes, but it was never sent previously
Can you try this resend command? https://stripe.com/docs/cli/events/resend
looking
ok hold on... if I reconfigure my webook (add additional events) I just resend the event from the dashboard...
and it (of course) send out the new webhook events
Oh yeah you can do it from Dashboard too
ok, trying now!
Hmmm I actually am not finding the option to resend from the dashboard. Can you let me know where the option is? I know I've seen, and used it before!
I guess because your event wasn't sent at all you don't see the option
no, it was sent.
Under Webhooks?
I just added invoice.paid. I'm listening for charge succeeded and failed.
that my filesystem on my server and the file contents of the event we are talking about
I did find the Resend button
OK, although I have found the Resend button this is not going to work as the Resend send exactly what was previously sent, in the case a charge.succeeded.
I'm trying to send an invoice.paid
That doesn't exist.
I am a bit confused.... You want to resend an invoice.paid event, correct? The event id you gave me earlier (evt_1KgfWfG30Vl6ne6N7LiMhBFv) is invoice.finalized. I want to make sure we are talking about the same thing
OK. Earlier today my webhooks were setup for: charge.failed, charge.refunded, and charge.succeeded
Later someone paid their invoice.
Server side (my side) I received 1 event from you: charge.succeeded.
Now I am realizing that what I really need is to ALSO receive the invoice.paid event. I'm trying to figure out how to generate an invoice.paid from a previously recieve and paid for Invoice.
Okie get it ๐ Can you give me that invoice.paid event id again?
the invoice.paid event doesn't exist
meaning it wasn't created in the first place?
evt_1KgfWfG30Vl6ne6NzGwfhKIv
I think this is it
for your Invoice in_1KgfWcG30Vl6ne6Npjt2qv2q
No attempts, so no button
correct
so I think you can try the resend command, passing this id
worse case, i can at least grab the JSON from here.
ahh! ok..
i'm looking for it in the CLI
Here is the link again, for convenience ๐ https://stripe.com/docs/cli/events/resend
thanks. hmm... my CLI is connected to TEST
Yeah you would want a CLI running on the Live server
ok, let me see if I can figure that out. but I think this is it! once I get logged on.
I suggest to test the resend command on your TEST environment first, using a different TEST event