PCoder
60ddfa78b0
Handle getting the correct user_card_detail
...
Fixes
Traceback (most recent call last):
File "<console>", line 2, in <module>
File "/home/app/pyvenv/lib/python3.5/site-packages/django/db/models/manager.py", line 122, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/app/pyvenv/lib/python3.5/site-packages/django/db/models/query.py", line 391, in get
(self.model._meta.object_name, num)
hosting.models.MultipleObjectsReturned: get() returned more than one UserCardDetail -- it returned 2!
2025-05-16 16:05:53 +05:30
app@dynamicweb-production
4f8bd3b45f
Fix stripe_chgs object; make it consistent
2024-06-20 13:58:19 +02:00
app@dynamicweb-production
bd4d81c286
Show virtual machine plan page for admin
2024-02-17 11:20:12 +01:00
app@dynamicweb-production
7afa9d2f4c
Show settings view for admin
2024-02-09 16:37:34 +01:00
PCoder
83d1e54137
Fix error when user accesses vm details and no invoices
2024-01-26 09:11:57 +05:30
PCoder
138fd519b7
Change admin email to dcl-orders for vm purchase
2022-02-05 08:30:58 +05:30
PCoder
1d48dfb93b
Filter invoices by paid status
2021-03-29 07:23:58 +05:30
PCoder
d46deaa23a
Do not use UserCardDetail to save card
2021-02-07 15:58:03 +05:30
PCoder
3b874901bc
Update using correct card details
2021-01-12 13:40:03 +05:30
PCoder
640807eb62
Don't get card from local db
2021-01-12 13:39:11 +05:30
PCoder
1e67bef4f5
Remove unwanted code/comments
2021-01-07 16:30:33 +05:30
PCoder
7cd485bc6d
Fix issues on settings/card save/delete methods
2021-01-01 02:37:52 +05:30
PCoder
31c5336e18
Show cards directly from Stripe and dissociate using PaymentMethod
2021-01-01 01:59:41 +05:30
PCoder
36505db5a2
set default_payment_method
2021-01-01 01:35:59 +05:30
PCoder
c3286a68a5
Use payment method instead of token and PaymentIntent all over
2020-12-31 10:04:21 +05:30
PCoder
e522ac0f61
Merge branch 'master' into 8393/show-SCA
2020-12-02 18:49:31 +05:30
PCoder
d980fb0000
Quote email in links
2020-12-01 17:13:09 +05:30
PCoder
81ec1125cb
Capture both actions requires_action and requires_source_action
2020-10-11 17:21:15 +05:30
PCoder
877553e442
Add logger message
2020-10-11 16:45:23 +05:30
PCoder
70bfef4738
Show SCA modal when required
2020-10-11 16:01:55 +05:30
PCoder
0c39336653
Sort invoices by created_at desc
2020-06-22 20:04:01 +05:30
PCoder
ffae844ee5
Merge remote-tracking branch 'mainRepo/master' into 7894/show-one-time-payment-invoices
2020-06-19 12:40:52 +05:30
PCoder
af36a49366
Revert back errors
2020-06-10 13:36:33 +05:30
PCoder
4bff49dab6
Refactor polling time to terminate VM
2020-06-10 12:27:59 +05:30
PCoder
a395b7a4a6
Do not update ho -> doing so, crashes
2020-04-10 18:44:45 +05:30
PCoder
8443e03b1f
Add ho values
2020-04-07 19:33:13 +05:30
PCoder
84c3db7e52
Pass HostingOrder instance
2020-04-07 19:21:47 +05:30
PCoder
343a9440f0
Load invs_charge context from user's charges
2020-04-01 17:09:02 +05:30
PCoder
cb3ff73100
Filter out None case for discount's name
2020-03-25 18:47:00 +05:30
PCoder
580960548e
Merge tag '2.10.2' into branch-2.10.3b
...
Introduce base price for VMs and let admins add stripe_coupon_id
2020-03-18 12:05:57 +05:30
PCoder
b9096de386
More replacements: use username instead of emails
2020-03-05 18:17:14 +05:30
PCoder
b44a7f98b5
Use username instead of email when creating VM
2020-03-05 15:55:44 +05:30
PCoder
e2c86116b2
Use username for opennebula related tasks
2020-03-05 15:27:18 +05:30
PCoder
e322e58246
Use appropriate stripe_coupon_id
2020-02-04 09:06:10 +05:30
PCoder
2058c660c0
Retrieve only one invoice
2020-02-01 13:15:03 +05:30
PCoder
9d21181073
Get stripe invoice obj correctly
2020-02-01 12:23:47 +05:30
PCoder
d8482c52f9
Get invoice correctly
2020-02-01 12:20:13 +05:30
PCoder
918d2b17e1
Change invoice url
2020-02-01 12:13:56 +05:30
PCoder
e01b27835e
Make subscription exclusive of VAT + Add VAT separately to subscription
2020-01-24 14:11:55 +05:30
PCoder
399f9ed6c9
Adjust hosting VM buy flow
2020-01-23 16:37:35 +05:30
PCoder
a00a9f6ff0
Show invoices directly from stripe
2020-01-20 12:07:32 +05:30
PCoder
ceb7f9b0e6
Revert back to email
2020-01-02 12:34:42 +05:30
PCoder
7d7bd60a7f
Error emails list is already a list
2020-01-02 12:27:26 +05:30
PCoder
b4a3c5e277
Send VM deleted message to error mail list
2020-01-02 12:17:57 +05:30
PCoder
5f81bc9091
Improve admin email for VM terminate
2020-01-02 12:07:55 +05:30
PCoder
f4e84f62a4
Save billing address only if billing_address exists
2020-01-01 01:28:35 +05:30
PCoder
efaf75615b
Send email to admin on VAT number update
2020-01-01 00:01:44 +05:30
PCoder
8f2bd568db
Restore billing address if VAT number is not valid
2019-12-31 22:53:32 +05:30
PCoder
0695d68903
Create StripeCustomer if not already created
2019-12-31 22:52:49 +05:30
PCoder
6ac6db8212
Get the last user billing address as the default address
2019-12-31 22:52:24 +05:30