Commit graph

1364 commits

Author SHA1 Message Date
PCoder
480e38fbc9 Attempt fix for local variable 'card_details_dict' referenced before assignment 2020-12-23 14:19:52 +05:30
PCoder
4962b72d1a Add logging message 2020-12-23 14:19:22 +05:30
PCoder
70c8ed6825 Add debugging messages 2020-12-23 14:12:30 +05:30
PCoder
981e68aa4f Fix getting card_id and compare 2020-12-23 13:56:08 +05:30
PCoder
a4a5acd0e7 Fix string formatting issues 2020-12-23 13:46:34 +05:30
PCoder
812157b6c6 Move login code out of the refactored do_create_vm 2020-12-23 13:40:19 +05:30
PCoder
b1dd9988ce Add missing subscription_id param 2020-12-23 12:03:17 +05:30
PCoder
95a1b8fa20 Make complete_at allow null 2020-12-23 11:52:41 +05:30
PCoder
50d9eb1c50 Fix UnboundLocalError: local variable 'stripe_onetime_charge' referenced before assignment 2020-12-23 11:26:52 +05:30
PCoder
17c8f9ca18 Handle IncompleteSubscriptions in webhook 2020-12-23 10:59:21 +05:30
PCoder
c4c918d591 Prepare params from session to pass to do_create_vm 2020-12-23 09:26:01 +05:30
PCoder
20c6703236 Add a todo 2020-12-23 09:10:03 +05:30
PCoder
2a84d20f35 Add docstring 2020-12-23 09:09:53 +05:30
PCoder
9f49c664fa Make do_create_vm independent of session 2020-12-23 09:09:40 +05:30
PCoder
9e247cc556 Fix PEP warning 2020-12-23 09:08:08 +05:30
PCoder
ca7481cce0 Avoid request.user.is_authenticated() 2020-12-23 08:00:08 +05:30
PCoder
cda241893b Fix PEP warning 2020-12-23 07:57:54 +05:30
PCoder
cb7a1ed4f4 Implement provisioning of VM on invoice.paid webhook 2020-12-20 02:41:30 +05:30
PCoder
a63fac1a20 Set data at the client side according to success or error 2020-12-18 17:16:44 +05:30
PCoder
d0d5fb0196 Handle payment_intent requires SCA case 2020-12-18 16:47:45 +05:30
PCoder
0b0c932e5a Refactor code: show_error 2020-12-18 16:45:16 +05:30
PCoder
7fcf148cf4 Merge remote-tracking branch 'mainRepo/master' into 8393/show-SCA 2020-12-18 14:11:46 +05:30
PCoder
504681107a Remove unreachable code 2020-12-10 10:04:16 +05:30
PCoder
57b6b18243 Fix PEP warning 2020-12-10 10:04:04 +05:30
PCoder
22d3b1f83c Add vm_type to the log info 2020-12-10 09:05:04 +05:30
PCoder
01d8cc1b9b Use absolute paths 2020-12-10 08:56:34 +05:30
PCoder
785091e4ff Handle vm_id is None case 2020-12-10 08:40:40 +05:30
PCoder
890a83cfa6 Add check_vm_templates management command 2020-12-10 08:34:17 +05:30
PCoder
7bcca15f0b Cleanup logging 2020-12-07 10:52:06 +05:30
PCoder
9d85c058da Fetch correct cred 2020-12-07 10:48:48 +05:30
PCoder
8c374af4ff More logging 2020-12-07 10:45:51 +05:30
PCoder
ff28c6e8e8 Add log message 2020-12-07 10:44:20 +05:30
PCoder
bbb51b71a6 Fix variable name 2020-12-07 10:40:55 +05:30
PCoder
591f5ff37b Fix key 2020-12-07 10:37:12 +05:30
PCoder
81ba834b01 Add missing arguments 2020-12-07 10:31:45 +05:30
PCoder
082c0b00af Implement fix_vm_after_celery_error 2020-12-07 09:53:14 +05:30
PCoder
17557fd4c9 Create refactored method handle_metadata_and_emails 2020-12-07 09:52:53 +05:30
PCoder
352c780287 Work in progress 2020-12-07 07:53:20 +05:30
PCoder
e9801eb9c4 Fix wrong logging 2020-12-03 09:48:08 +05:30
PCoder
e522ac0f61 Merge branch 'master' into 8393/show-SCA 2020-12-02 18:49:31 +05:30
PCoder
e8b79d6951 Return emtpty string when plan is not set 2020-12-01 17:12:55 +05:30
PCoder
52362cd0ea In case of error, log it and return empty result 2020-12-01 17:12:29 +05:30
PCoder
81ec1125cb Capture both actions requires_action and requires_source_action 2020-10-11 17:21:15 +05:30
PCoder
4c7b9eaa52 Handle SCA in dcl flow 2020-10-11 17:11:20 +05:30
PCoder
676a358832 Add logger messages 2020-10-11 16:57:10 +05:30
PCoder
08bf163d21 Remove multiple hl 2020-07-21 22:26:16 +05:30
PCoder
df301a18fc Set vat params 2020-07-21 22:23:07 +05:30
PCoder
ad5371a133 Update order confirmation template 2020-07-21 22:15:04 +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
bc69cc49e5 Move opennebula specific code to celery to make it asynchronous 2020-06-11 15:20:42 +05:30
PCoder
7db3dc4222 Fix circular imports and correct hosting order link 2020-04-15 17:36:40 +05:30
PCoder
f089892c90 Remove duplicated html + add href link to order 2020-04-10 20:02:12 +05:30
PCoder
4869fd51df Change to filter from simple 2020-04-07 18:35:25 +05:30
PCoder
4435eef077 Chanage tag to simple 2020-04-01 17:26:12 +05:30
PCoder
d0be07ecd5 Add custom_tag get_line_item_from_hosting_order_charge 2020-04-01 17:07:10 +05:30
PCoder
cb3ff73100 Filter out None case for discount's name 2020-03-25 18:47:00 +05:30
PCoder
46c33cf107 Update price to 11.5 CHF per month in intro emails 2020-03-24 12:34:26 +05:30
PCoder
9d96ecefea Remove unwanted import 2020-03-18 12:44:18 +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
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
dd2eae68e6 Use math round to round amount to 2 decimal places 2020-02-04 11:20:17 +05:30
PCoder
e322e58246 Use appropriate stripe_coupon_id 2020-02-04 09:06:10 +05:30
PCoder
3ca1a45217 Add stripe_coupon_id to VMPricing 2020-02-04 08:57:54 +05:30
PCoder
e6de90e431 Set vm base price in js also 2020-02-03 12:07:50 +05:30
PCoder
3061c1483c Switch bold between Recurring text and value 2020-02-02 22:37:29 +05:30
PCoder
f68549d80d Add DE translations by moep 2020-02-02 22:33:13 +05:30
PCoder
b607575c8c Switch bold for description title and description text 2020-02-02 22:29:01 +05:30
PCoder
368db61a2f Remove padding left 2020-02-02 22:11:26 +05:30
PCoder
359a633047 Fix mobile view 2020-02-02 22:00:22 +05:30
PCoder
1630dc195b Reduce header font size 2020-02-02 21:52:48 +05:30
PCoder
f0f8af2367 Change col-sm-8 to col-sm-9 to spread content further on desktop view 2020-02-02 21:39:51 +05:30
PCoder
a5d393ad20 Right align prices 2020-02-02 13:21:01 +05:30
PCoder
70a3620598 Fix getting product from plan_name 2020-02-02 13:09:27 +05:30
PCoder
42a4a77c02 Show product name 2020-02-02 12:42:19 +05:30
PCoder
e094930d6e Show product name in invoices list if product is not a VM 2020-02-02 12:39:19 +05:30
PCoder
c0683d9f53 Show prices to two decimal places 2020-02-02 10:57:14 +05:30
PCoder
fc8c4579fb Show prices to two decimals 2020-02-02 10:41:51 +05:30
PCoder
9f86f44569 Add missing divs 2020-02-02 10:29:33 +05:30
PCoder
ffde015c31 Fix divs 2020-02-02 10:26:13 +05:30
PCoder
c765698a0f Add two columns for pricing 2020-02-02 10:16:45 +05:30
PCoder
44dee625b4 Add some DE translations 2020-02-01 20:24:55 +05:30
PCoder
8fe689d993 Update some DE translations 2020-02-01 15:23:26 +05:30
PCoder
b103cff0a6 Dont round_up discount (is obtained from subtraction) 2020-02-01 13:54:29 +05:30
PCoder
c43afb7c59 Use round_up method 2020-02-01 13:47:29 +05:30
PCoder
23b25002ae Take users to invoice url instead of orders
Orders need a VAT alignment fix
2020-02-01 13:00:10 +05:30
PCoder
e6f00abd71 Do not round 2020-02-01 09:17:24 +05:30
PCoder
838163bd59 Make total price consistent 2020-02-01 09:15:12 +05:30
PCoder
b1acd3f25b Convert VAT percent to CHF before calculations 2020-02-01 09:02:17 +05:30
PCoder
f4393426d3 Fix proper VAT values 2020-02-01 08:53:24 +05:30
PCoder
7a9b315e2e Add media query for device width less than 368px 2020-01-30 12:33:47 +05:30
PCoder
3141dc2793 Round price_with_vat 2020-01-30 11:52:29 +05:30
PCoder
3d51e4fe32 Update alignments 2020-01-30 11:39:54 +05:30
PCoder
f546c5cb4f Increase content space in order detail desktop view 2020-01-29 17:38:44 +05:30
PCoder
4128aeb64d Add line height for final price 2020-01-29 17:21:59 +05:30
PCoder
ad606c2c55 Correct calculation of total price 2020-01-29 16:50:05 +05:30
PCoder
6132638faa Use correct vat 2020-01-29 16:32:07 +05:30
PCoder
b8eca59e0d Fix design for showing prices excl and incl vat and discount 2020-01-29 16:04:03 +05:30
PCoder
970834cc38 Add parameters needed for displaying prices after discount, and vat 2020-01-29 16:03:13 +05:30
PCoder
cde6c51d4b Reset vat_validation_status when on payment page 2020-01-26 10:06:31 +05:30