Live data from Hacker News

Stripe CLI

stripe.com

11–20 of 149 posts

Re: Stripe CLI

#13
post #2

This looks really good. It sounds like you won't have to configure tools like ngrok anymore to accept webhooks on a local connection. That's a huge win because with the free version of ngrok your subdomain would change a lot which means having to goto the Stripe dashboard to update it there. It was pretty tedious.

This is a free equivalent to ngrok and it only uses SSH - https://serveo.net/ - and it accepts custom subdomains. I spin it up for each project like this with $DOMAIN and $PORT being defined/fixed for each project and the connection kept open permanently using autossh: ssh -R $DOMAIN:80:localhost:$PORT serveo.net There are API endpoints for creating, listing and deleting webhooks in Stripe now too - my test suites an…

Do you think there would be demand for `serveo` but instead of running your project locally, you point to a Dockerfile and the entire container + all of its dependencies are ran remotely (with wildcard subdomain SSL included)?

I was going to test the waters with https://www.dollardeploys.com/ (not functional yet), wasn't sure how to differentiate it between ngrok/serveo.

Re: Stripe CLI

#14

Earlier quoted context omitted.

This is a free equivalent to ngrok and it only uses SSH - https://serveo.net/ - and it accepts custom subdomains. I spin it up for each project like this with $DOMAIN and $PORT being defined/fixed for each project and the connection kept open permanently using autossh: ssh -R $DOMAIN:80:localhost:$PORT serveo.net There are API endpoints for creating, listing and deleting webhooks in Stripe now too - my test suites an…

Do you think there would be demand for `serveo` but instead of running your project locally, you point to a Dockerfile and the entire container + all of its dependencies are ran remotely (with wildcard subdomain SSL included)? I was going to test the waters with https://www.dollardeploys.com/ (not functional yet), wasn't sure how to differentiate it between ngrok/serveo.

I think at that point you're really into Heroku's territory rather than ngrok/serveo. Their free dynos might be hard to compete with, you can push a git commit or docker image or automatically deploy upon repo changes:

https://devcenter.heroku.com/categories/deploying-with-docke...

Re: Stripe CLI

#15
Stripe is by far the best developer experience I’ve had in my career working with third party APIs/services. The attention to detail is just second to none, and documentation is a big part of this.

Re: Stripe CLI

#16

I filled a bug task on your github page, but you've got a deadlink for the linux install in your readme. Really excited to get to use these tools. Already integrated with stripe for my projects, but this will allow for more cool testing. Thank you stripe team!

Kenneth from Stripe here. We just committed a fix. Thanks for the heads up! https://github.com/stripe/stripe-cli/commit/edaa05a505e935a5...

Re: Stripe CLI

#17

that's nice! :) I have found that quite often Stripe's UI would just through errors when trying to open some customers, failed payments or subscriptions. Couldn't really pinpoint why it happens, tried different browsers, disabling extensions and so on. Hopefully CLI wil work :)

Hmm, that shouldn't happen – mind shooting me an email with an ID or two that failed? rattrayalex at stripe.

Re: Stripe CLI

#18
I like the attention to detail this feature reveals - in particular, how if you're in Stripe test mode in browser tab X and type `stripe login`, the cli will open a page in browser tab Y that gives you a test mode webhook secret, without prompting you to select a mode again. Very intuitive.

Re: Stripe CLI

#19

I filled a bug task on your github page, but you've got a deadlink for the linux install in your readme. Really excited to get to use these tools. Already integrated with stripe for my projects, but this will allow for more cool testing. Thank you stripe team!

Kenneth from Stripe here. We just committed a fix. Thanks for the heads up! https://github.com/stripe/stripe-cli/commit/edaa05a505e935a5...

Very impressive. From an engineering standpoint, Stripe knocks it out of the park.

Re: Stripe CLI

#20
post #11
post #8

How can I get the multiple terminals view in the blog header image?

looks like just your regular iterm2 split panes?

alternately, you can use tmux which lets you detach sessions, rotate panes, and configure them in whatever arrangement you'd like! Would highly recommend it :)
Post reply on HN