3 ms·
What happens if the script dies after charging, before updating paid_through?
by chris_va 10y ago
What happens if the script dies after charging, before updating paid_through?
- dangrossman 10y agoThat's never happened in 12 years, but if it did, one of two things: (1) I'd notice that I got fewer payment receipts than I expected that day, and go fix it by updating their paid_through date in the database. You'd be able to log in to your payment processing account to see whether the charge went through or not, so there's nothing unrecoverable about this situation. (2) That customer would notice first, send an e-mail, and I'd have to apologize before fixing it. Not a very concerning situation. I'd be much more concerned about, say, vendor lock-in with an external billing provider that could terminate service or change terms on a moment's notice. Like all the "PayPal/Stripe froze our account" horror stories, or when Recurly dramatically increased their prices without grandfathering anyone in early in their history. No such concerns when you own the billing code, and don't store your customer info only with your current payment processor.