Commit graph

12 commits

Author SHA1 Message Date
PCoder
655316305b Create FailedInvoice when invoice.payment_failed webhook is fired
Also set the context parameters for sending emails
2019-06-13 09:55:36 +02:00
PCoder
ad846fabec Send invoice failed notification to user also 2019-06-13 05:20:00 +02:00
PCoder
ecdc0c32fb Improve logger message 2019-06-12 07:29:19 +02:00
PCoder
0d4287d36f Add missing param 2019-06-12 06:07:16 +02:00
PCoder
22accdd0d0 Fallback to vm_id from order if its not set in metadata 2019-04-16 00:02:44 +02:00
PCoder
3c215638f5 Send error mails to admin only 2019-04-15 22:57:02 +02:00
PCoder
3b26b94fd3 Add logger message 2019-04-15 22:27:11 +02:00
PCoder
c081f9e73a Handle error better 2019-04-14 11:17:48 +02:00
PCoder
3b84d6f646 Handle presence of HTTP_STRIPE_SIGNATURE header in META 2019-04-14 01:36:03 +02:00
PCoder
0ed3c84461 Log unhandled case 2019-04-14 00:59:25 +02:00
PCoder
8a59c2da1e Implement handling invoice.payment_succeeded and invoice.payment_failed webhooks 2019-04-14 00:58:13 +02:00
PCoder
9b32290964 Add webhook app and create_webhook management command 2019-04-13 23:52:41 +02:00