Commit graph

39 commits

Author SHA1 Message Date
PCoder
1d7c3f424c Don't send admin email if IncompletePaymentIntent lookup doesn't contain a value 2021-01-01 11:17:07 +05:30
PCoder
e7462289f6 Just log IncompleteSubscription does not exist error
Do not compare with db and send admin error message
2021-01-01 01:03:08 +05:30
PCoder
9b84461a29 Add logger messages 2021-01-01 00:58:11 +05:30
PCoder
213b9a068e Fix attribute name 2020-12-31 17:07:51 +05:30
PCoder
33f741424d See inner values of incomplete_pm 2020-12-31 17:05:01 +05:30
PCoder
7309b8416c Handle any exception 2020-12-31 17:02:03 +05:30
PCoder
ff7b20b0dc Stripe id is not a dict 2020-12-31 16:59:22 +05:30
PCoder
37f82a48d5 More loggers 2020-12-31 16:55:05 +05:30
PCoder
8827bd15ba More loggers 2020-12-31 16:47:45 +05:30
PCoder
8e4b3ce96b Store charge id from payement intent result 2020-12-31 16:39:25 +05:30
PCoder
85757e01c9 Save charge id 2020-12-31 16:37:25 +05:30
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
f6832c090e Add webhooks/views.py 2019-12-25 12:07:42 +05:30