-
Found this fella in the laundry trough under the bucket. Was a little reluctant to come on my hand so I can take it outside. It’s in the yard now. 🦎
I need to start a “lizard ingress” counter of some sort. This is number 3, maybe 4, this year? Not that I mind finding them around the house.
-
The Stripe CLI doesn’t have a command for listing account tax IDs, but it’s still possible to list them using the
getsubcommand. For anyone else that needs it, here’s how you can list them:stripe get /v1/tax_idsAnd to get a single tax ID:
stripe get /v1/tax_ids/txi_abc123 -
More Kvetching About Stripe's Documentation
Stripe’s documentation lacks clarity on the basic concepts and calculations related to invoicing, leaving users confused about how key fields like
amount_dueandending_balanceare determined. Continue reading → -
TIL that if a Stripe subscription is associated with a test clock, it won’t be returned in a List Subscription call. Not sure if it’s because the clock is set in the future, or it’s just the presence of the clock itself. Retrieving the subscription by ID seems to work, though.
-
While we’re adding features to public web services, here’s another one: request durations in Stripe’s Workbench. I’m seeing some pretty slow subscription update calls and it would be nice to see if it’s impacting the timeout of our integration.
-
TIL about Stripe pending update feature, where you can update a subscription on condition that the payment was successful. Wish I knew about this before I coded up all this logic manually. I wonder if this is a new feature (I wish Stripe added dates to their documentation).
-
Laughed out loud when I heard this as my experience with Stripe's API has been quite different. Stripe does quite well with keeping support for old versions of their API, but they're not afraid of making backwards-incompatible changes between versions. We encountered quite a few of these last time we were updating the SDK, and while I was going through their API docs a few weeks ago, I saw quite a few more that we'll need to make next go-around. I wouldn't call that "low needs" myself.
-
Pro-tip for anyone using Stripe: don’t use colons in your metadata keys. It’s not that they’re not allowed, but there’s no way to escape that colon in a Radar expression. Best to stick with alphanumerics and the underscore, as if those keys were C idents.
-
I will admit, I was a hater of Stripe’s new developer tools that slid up from the bottom when I first used them. But I’ve grown to really like them. They have the one thing I’ve been wishing from Stripe from the beginning, which is showing how the entity you’re looking at looks from the API.
-
The ultimate irony of fully understanding Stripe and its API is that you really need to use it to sell something. You can understand a lot just by working on the customer facing side, but when it comes to understanding how payouts work end-to-end; well, owning a business would come in handy here.
-
Saw a Stack Overflow answer for a Stripe question linking to a Discord message as a source. I’m sorry, but for SO questions about Stripe, citing some random message on Discord is not good enough, even if the poster is Stripe support. You may as well cite “some Stripe dev I overheard at a conference.”
-
Why does Stripe delete test subscriptions after 90 days? What resources do these test subscriptions actually take up? I can understand deleting them after, say, 2 years, but 90 days seem a bit short.
-
“How fast does Stripe post web-hook events?”, you ask. Well at the moment I’m facing a small race condition where a thread makes a call to Stripe, and another thread receives the event before the first one has finished its routine. So yeah, pretty fast.
-
Stripe support is a lot like democracy: it was better in the past, and on the whole it’s the worst one out there, aside from all the other payment gateways.
-
So, uh, Stripe; which is it? You can’t change the currency of a customer, or you can? Because I was under the impression that you were unable to change the currency once it was set. So you could imagine my surprise when I was able change the currency of a customer this morning.
-
For the last few years, I’ve been using 4/24 as the expiry date of test credit cards within Stripe. Well those days are literally in the past now.
-
Moan-routine: Stripe Prices
I love coding and anything computers. I’ve spent, and continue to spend, a significant amount of my life writing code. And on the whole, it’s been a magical experience.
But not always.
Sometimes I encounter something that makes me wonder why? Why was that designed that way? Why doesn’t it work? Why couldn’t this be easier? You encounter something that blocks you or puzzles you, maybe even questions how anything in computers can work at all. You’ve got things to do, and you try your best to work around the problem. Sometimes you succeed. Most times you get blocked and need to find some other way to fix it. And so the frustration builds, with no easy way to dissipate it.
Continue reading → -
Just discovered that Stripe has a changelog, which is great. But they don’t offer it as an RSS feed, which is crazy. Seems like this would naturally translate into an RSS feed. They have one for their engineering blog so it’s not like they unfamiliar with the concept.
-
It kills me that Stripe offers six test cards that simulate errors when attaching to a customer, yet only one test card that simulates payment failures once it’s attached.
-
Used ChatGPT a record number of times today (5). Asked a lot of questions about Stripe, like what happens to invoices when a subscription is cancelled. Proved more useful in giving me a direction to explore, rather than providing me a definitive answer, although that might come with time and trust.
-
Ignoring Bard to Speak to Paulie
So this happened today.
Our team was testing the integration between two systems. The first system — let’s call it Bard — can be configured to make API calls directly to Stripe, or be configured to use the second system — let’s call it Paulie — to call Stripe on it’s behalf. Bard has a REST API that is used by the HTML front-end to handle user requests. Paulie is designed to be completely isolated from the front-end and has a simple gRPC API that Bard calls. Whether or not it Bard calls Paulie at all is determined by the value of an SSM parameter.
Continue reading → -
Time and Money
Spending a lot of time in Stripe recently. It’s a fantastic payment gateway and a pleasure to use, compared to something like PayPal which really does show its age.
But it’s so stressful and confusing dealing with money and subscriptions. The biggest uncertainty is dealing with anything that takes time. The problem I’m facing now is if the customer chooses to buy something like a database, which is billed a flat fee every month, and then they choose to buy another database during the billing period, can I track that with a single subscription and simply adjust the quantity amount? My current research suggests that I can, and that Stripe will handle the prorating of partial payments and credits. They even have a nice API to preview the next invoice which can be used to show the customer how much they will be paying for.
Continue reading →