PCoder
9cdf4593cf
Remove hardcode
2025-05-27 12:02:15 +05:30
PCoder
018c3b5bba
More debugging
2025-05-27 10:58:33 +05:30
PCoder
4e978f62ea
More debug
2025-05-27 10:47:06 +05:30
PCoder
4c0a1fd07f
Debug
2025-05-27 10:08:09 +05:30
PCoder
2ec89b6157
Print provisioning parameters
2025-05-21 15:23:13 +05:30
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
PCoder
ca099d8c83
Send error message only if there is an error
2025-03-27 16:21:33 +05:30
PCoder
8e9315b12d
Fix separate messages for errors and inform admin about errors
2025-03-27 16:13:22 +05:30
PCoder
86836f3d1e
Check those VMs that are displayed to the public
2025-03-27 15:39:24 +05:30
app@dynamicweb-production
3736f522dd
Debug messages
2024-06-20 14:00:50 +02:00
PCoder
c4f6780a0e
Add management command fix_generic_stripe_plan_product_names.py
2024-03-22 16:54:54 +05:30
PCoder
fdb790bac7
Use the actual plan name instead of the generic plan id
2024-02-16 16:24:40 +05:30
PCoder
6a374f7fa0
Rearrange
2024-02-16 16:23:19 +05:30
PCoder
10d2c25556
Get product name from id it starts with generic otherwise use as is
2024-02-16 16:23:02 +05:30
app@dynamicweb-production
325d1ffcb9
Ignore more contact f
2023-11-17 03:43:49 +01:00
app@dynamicweb-production
95c07fbed1
Change to dcl-orders for new vm and removing ipv6onlyhosting.{net,ch} references
2022-05-16 11:56:05 +02:00
PCoder
138fd519b7
Change admin email to dcl-orders for vm purchase
2022-02-05 08:30:58 +05:30
5ce283318a
Fix poland country code in eu_countries
2021-09-27 09:21:24 +02:00
PCoder
63821813d4
Fix translations
2021-02-07 18:05:48 +05:30
PCoder
173c0fe9bf
Update texts
2021-02-07 17:28:44 +05:30
9e640d0802
Merge branch '8691/check_vm_templates' into 'master'
...
8691/check vm templates
See merge request ungleich-public/dynamicweb!744
2021-01-07 12:06:02 +01:00
PCoder
c58302d90e
Log error messages
2021-01-07 16:30:48 +05:30
PCoder
1e67bef4f5
Remove unwanted code/comments
2021-01-07 16:30:33 +05:30
PCoder
ec13a71866
Reformat code
2021-01-07 16:29:34 +05:30
PCoder
6c968fdbb8
Redirect to dcl payment
...
We no longer seem to use hosting payment
2021-01-02 09:03:02 +05:30
PCoder
44ebb71916
Also clear id_payment_method from session
2021-01-02 09:02:37 +05:30
PCoder
8deed169ca
Fix redirect url
...
Take user to virtual_machines page if the user ordered a VM
2021-01-01 11:13:02 +05:30
PCoder
36505db5a2
set default_payment_method
2021-01-01 01:35:59 +05:30
PCoder
9b84461a29
Add logger messages
2021-01-01 00:58:11 +05:30
PCoder
04003757dc
Move log block to correct case
2021-01-01 00:43:28 +05:30
PCoder
e024a3a7a6
Do not create paymentintent for subscription
2021-01-01 00:34:35 +05:30
PCoder
2c3d00f03f
Pass correct stripe_customer_id
2021-01-01 00:09:20 +05:30
PCoder
d8a674da3d
Remove unwanted code + doc
2021-01-01 00:08:58 +05:30
PCoder
9524e03762
Pass user param with request dict
2021-01-01 00:08:33 +05:30
PCoder
a32a5af5a3
Add code to differentiate between subscription and non-subscription in js
2021-01-01 00:07:23 +05:30
PCoder
9faf897818
Formatting and documentation
2020-12-31 22:46:15 +05:30
PCoder
6e6a57b304
Refactor price to charge => amount_to_charge
...
This is a common variable between the generic onetime and
subscription
2020-12-31 22:45:05 +05:30
PCoder
7b71ba55f2
Rename token to id_payment_method
2020-12-31 22:43:50 +05:30
PCoder
d2ebd3c473
Do card association
2020-12-31 20:53:02 +05:30
PCoder
b36afcb828
Simplify code for logged in one-time payments with SCA
2020-12-31 20:35:31 +05:30
PCoder
a823efd8e2
Add get_available_payment_methods
2020-12-31 20:01:52 +05:30
PCoder
2f98294eab
Store dicts as json in db
2020-12-31 17:12:17 +05:30
PCoder
52d1fb6a0e
Add logger + return 200 on success of webhook
2020-12-31 16:27:12 +05:30
PCoder
87b85c43b4
More logger
2020-12-31 15:59:09 +05:30
PCoder
b2f0a45679
Add logger message
2020-12-31 15:56:08 +05:30
PCoder
98b5d03d0b
Refactor code for do_provisioning_generic
2020-12-31 15:40:46 +05:30
PCoder
ba92c8e416
Do not pop billing address data from session in case of a payment failure
...
Instead pop id_payment_method
2020-12-31 11:05:32 +05:30
PCoder
42c9ec6f28
Handle js success/error messages
2020-12-31 10:32:25 +05:30
PCoder
c3286a68a5
Use payment method instead of token and PaymentIntent all over
2020-12-31 10:04:21 +05:30
PCoder
35cc9d4229
Log client secret
2020-12-24 20:07:31 +05:30