3 ms·
my recent experience working with the Stripe API lines up with this. Based on the reputation I was expecting a lot less complexity and strange default behavior
by jobs_throwaway 4y ago
my recent experience working with the Stripe API lines up with this. Based on the reputation I was expecting a lot less complexity and strange default behavior when it comes to subscriptions/invoicing. Still a good dev experience, but not the greatest, most straightforward API ever like its reputation.
For example, Stripe applies discounts prior to proration. So if a customer applies a $100 per month discount on a $1000 subscription, and signs up halfway through the month, they're charged (1000 - 100 * 0.5), not the more intuitive ((1000 * 0.5) - 100). Nitpicky, but not what I expected.