Commit graph

30 commits

Author SHA1 Message Date
PCoder
f48a5cfe71 Set completed_at value 2020-12-31 16:29:18 +05:30
PCoder
12c9140b3a Fix using correct payment intent id 2020-12-31 16:23:44 +05:30
PCoder
9077eb0cf2 Implement webhook 2020-12-31 15:41:43 +05:30
PCoder
1c4f297775 Begin migrating to PaymentIntent 2020-12-24 19:34:06 +05:30
PCoder
799194152e Remove todo 2020-12-23 17:16:19 +05:30
PCoder
78b8191165 Implement invoice.payment_failed case 2020-12-23 17:10:23 +05:30
PCoder
a99924b94c Rename do_create_vm to do_provisioning; and pass real_request 2020-12-23 17:09:27 +05:30
PCoder
70c8ed6825 Add debugging messages 2020-12-23 14:12:30 +05:30
PCoder
259c509113 Don't handle generic exception for the moment 2020-12-23 14:02:27 +05:30
PCoder
9d765fcb6e Fix wrong variable name billing_address 2020-12-23 13:10:29 +05:30
PCoder
f6f6482ce0 Add missing billing_address_data 2020-12-23 13:07:28 +05:30
PCoder
2baa77a7d4 Fix json loads issue 2020-12-23 13:00:05 +05:30
PCoder
de6bc06eaf Fix json loads for none 2020-12-23 12:50:21 +05:30
PCoder
a5f49cf8be Add debug messages 2020-12-23 12:41:46 +05:30
PCoder
c70753767f Load request object correctly and pass correct subscription object 2020-12-23 12:32:42 +05:30
PCoder
92bafed3b3 Fix getting stripe_subscription_obj 2020-12-23 12:09:19 +05:30
PCoder
17c8f9ca18 Handle IncompleteSubscriptions in webhook 2020-12-23 10:59:21 +05:30
PCoder
3e95a389bb Preparing a fix for TODO (wip) 2020-12-23 07:58:20 +05:30
PCoder
cb7a1ed4f4 Implement provisioning of VM on invoice.paid webhook 2020-12-20 02:41:30 +05:30
PCoder
3389e69af1 WIP: Begin handling of invoice.paid webhook 2020-12-18 17:34:40 +05:30
PCoder
690952156d Convert to str before joining 2020-01-01 02:04:55 +05:30
PCoder
251676ead8 Fix getting StripeCustomer from stripe_id 2020-01-01 00:52:11 +05:30
PCoder
efaf75615b Send email to admin on VAT number update 2020-01-01 00:01:44 +05:30
PCoder
69996f536b Add vat_validation_status 2019-12-26 19:35:50 +05:30
PCoder
fe6ade38eb Update vat_number validated field based on tax_id + save 2019-12-26 11:54:54 +05:30
PCoder
ca128dd8c4 Fix str formatting 2019-12-26 08:06:27 +05:30
PCoder
80f01aec07 Add steps to be followed for tax_id updated webhook 2019-12-25 12:36:47 +05:30
PCoder
127c83059f Add stub files from webhook app 2019-12-25 12:20:26 +05:30
PCoder
f6832c090e Add webhooks/views.py 2019-12-25 12:07:42 +05:30
PCoder
50043f8283 Add webhook management command
Handles managing stripe webhooks
2019-12-25 12:03:58 +05:30