You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Our test suite requires listening for Stripe webhooks using the Stripe CLI. On the local environment I can run:-
stripe listen --forward-to http://localhost
which forwards webhooks to the local server.
I've tried a couple of approaches to this but without success.
Seems like I should create a stripe service definition using their docker container
But this gives an error:-
standard_init_linux.go:228: exec user process caused: exec format error
which maybe due to the processor type the image is compiled for. Also not sure how I would start the listener if it would run.
This is the usual command:-
docker run --rm -it stripe/stripe-cli listen \ --api-key sk_test_xxxxxxxxx
is it possible to send a command to a service?
Many Thanks for any pointers.