Commit graph

324 commits

Author SHA1 Message Date
PCoder
36505db5a2 set default_payment_method 2021-01-01 01:35:59 +05:30
PCoder
8c72b56f6c Use setup_future_usage='off_session' 2020-12-31 21:03:24 +05:30
PCoder
a823efd8e2 Add get_available_payment_methods 2020-12-31 20:01:52 +05:30
PCoder
c3286a68a5 Use payment method instead of token and PaymentIntent all over 2020-12-31 10:04:21 +05:30
PCoder
1c4f297775 Begin migrating to PaymentIntent 2020-12-24 19:34:06 +05:30
PCoder
acba77976d Add missing formatting identifier 2020-12-24 06:55:19 +05:30
PCoder
624cc45c12 Log error dict 2020-12-24 06:51:34 +05:30
PCoder
82359064cd Handle creation of correctly 2020-12-24 06:47:33 +05:30
PCoder
98628596f0 Add params to docstring 2020-12-24 06:25:37 +05:30
PCoder
39c8e35eca Add logger messages 2020-12-24 06:25:22 +05:30
PCoder
70bfef4738 Show SCA modal when required 2020-10-11 16:01:55 +05:30
PCoder
495e7d4022 Fix wrong constant name
settings.LDAP_MAX_UID_PATH -> settings.LDAP_MAX_UID_FILE_PATH
2020-06-11 11:29:53 +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
e2c86116b2 Use username for opennebula related tasks 2020-03-05 15:27:18 +05:30
PCoder
42fb55dee1 Don't use encoded bytes and its str representation as uid
(Refer redmine #7764)
2020-02-25 19:19:40 +05:30
PCoder
f45f8dd51f Remove unused method round_up 2020-02-04 11:27:59 +05:30
PCoder
e322e58246 Use appropriate stripe_coupon_id 2020-02-04 09:06:10 +05:30
PCoder
c315030b06 Add vm base price to missing places 2020-02-03 12:29:14 +05:30
PCoder
00b434efb9 Read VM_BASE_PRICE from env 2020-02-03 11:37:30 +05:30
PCoder
c43afb7c59 Use round_up method 2020-02-01 13:47:29 +05:30
PCoder
8ee4081f60 Fix round up calculations 2020-01-29 16:58:47 +05:30
PCoder
a81fdc8ec1 Revert back to original vat calculation 2020-01-29 16:45:07 +05:30
PCoder
48cc2b4939 Fix discount amount calculation after VAT 2020-01-29 16:19:56 +05:30
PCoder
1f79ccd490 Convert discount amount into CHF 2020-01-29 16:15:28 +05:30
PCoder
24740438f7 get_vm_price_for_given_vat: Also return discount amount with vat 2020-01-29 16:02:26 +05:30
PCoder
112f3e17a9 Convert to decimal for type consistency 2020-01-24 15:03:07 +05:30
PCoder
38550ea75c Rearrange the way we show VAT and discount calculations 2020-01-24 15:00:16 +05:30
PCoder
ec00785068 Update get_stripe_plan_id to make it compatible with excl_vat 2020-01-24 14:10:56 +05:30
PCoder
399f9ed6c9 Adjust hosting VM buy flow 2020-01-23 16:37:35 +05:30
PCoder
0b2a305f57 Fix pep warning 2020-01-20 12:09:49 +05:30
PCoder
a00a9f6ff0 Show invoices directly from stripe 2020-01-20 12:07:32 +05:30
PCoder
d4bfcbef47 Use message as returned by stripe 2019-12-31 22:55:53 +05:30
PCoder
6674e70ded Compare vat numbers only 2019-12-31 22:54:12 +05:30
PCoder
2378410f2d Compare country for creating new tax id 2019-12-31 18:22:57 +05:30
PCoder
aba3092207 Ignore spaces, hyphens and dots in vat number comparison 2019-12-31 15:57:50 +05:30
PCoder
7949ab274e Impove logging 2019-12-31 15:43:43 +05:30
PCoder
c142d743d1 Show only error message 2019-12-26 20:25:07 +05:30
PCoder
74921fcd4a Send the same error message as forwarded by Stripe 2019-12-26 20:21:01 +05:30
PCoder
fcdabd8dc3 Set vat validation status in more places 2019-12-26 19:55:28 +05:30
PCoder
69996f536b Add vat_validation_status 2019-12-26 19:35:50 +05:30
PCoder
c6147c887c More logging + improve ba string repr 2019-12-26 18:34:26 +05:30
PCoder
6d0a7f7049 Improve stripe_customer_id 2019-12-26 18:06:22 +05:30
PCoder
5ab0bf6993 Retrieve tax id if exists before creating a new one 2019-12-26 14:46:16 +05:30
PCoder
833dc9bdcb Change stripe_tax_id field to char + regenerate migrations 2019-12-26 11:41:29 +05:30
PCoder
4a40438edc Also handle ch_vat 2019-12-25 23:10:18 +05:30
PCoder
785f99311d Handle invalid VAT number case 2019-12-25 21:02:43 +05:30
PCoder
8996254212 Save stripe tax id 2019-12-25 18:44:43 +05:30
PCoder
c6db34efdd Add DateTimeField vat_number_validated_on 2019-12-25 11:00:04 +05:30
PCoder
e48ae6a39d Update migration to make vat_number non mandatory 2019-12-25 08:31:40 +05:30
PCoder
8409acf02d Add missing vat_number field 2019-12-21 10:10:32 +05:30