16 ms·
Invoicing is pretty straightforward if you're using the webhooks. Using Rails as an example, all you need to do is set up a mailer that's invoked from your str
by slantyyz 10y ago
Invoicing is pretty straightforward if you're using the webhooks.
Using Rails as an example, all you need to do is set up a mailer that's invoked from your stripe webhook controller. It's also more versatile, because the built-in email receipts that Stripe sends out have a limited amount of information and don't take advantage of the metadata fields you can create on your subscription objects.
I've only got two minor complaints with trying to integrate Stripe for subscriptions - there's basically only TEST/PROD - you can't have more environments than that (I have to use a separate stripe account for dev), and that the webhooks don't work if your dev machine is behind a firewall (I use Ultrahook to get around that, but I find that it quits on me constantly).