Closed DanielHudson closed 6 months ago
I worked on this a bit over the weekend but need to do some more testing/tweaking before I can merge this. Thanks! And sorry for the delay.
And sorry for the delay.
Ha! No problem - I wasn't even expecting it to get merged, it was really just an exploration of an idea, but I watched the wip over the weekend with interest though. Thanks for considering it 👍
Thanks a bunch for this one. This will make getting started with webhooks so much easier.
If you plan to use Ngrok or Expose for handling incoming webhooks, consider utilizing the
artisan lmsqueezy:listen
command. This command not only streamlines the setup of a webhook through the Lemon Squeezy API but also ensures automatic removal of the webhook when you exit the command.Moreover, in case you encounter issues with webhook cleanup, you can always resort to the
--cleanup
option to remove any lingering webhooks associated with the same domains configured in Ngrok or Expose.