Commit graph

289 commits

Author SHA1 Message Date
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
PCoder
32cfdea68c Add missing vat_number field to user billing address 2019-12-21 10:05:58 +05:30
PCoder
e3078f3ea9 Add migration 2019-12-21 08:52:43 +05:30
PCoder
2d66ae6783 Improve BillingAddress string representation
Include VAT number if available
2019-12-21 08:52:09 +05:30
PCoder
202a514b1b Set empty default value for vat_number 2019-12-21 08:51:43 +05:30
PCoder
f566aa8a2e Make VAT number a part of billing address 2019-12-21 08:43:34 +05:30
PCoder
c9de757bc7 Merge remote-tracking branch 'mainRepo/master' into feature/VAT_number 2019-12-21 08:19:23 +05:30
ed22a2261e Extend ModelBackend instead of rolling our own 2019-12-19 14:03:25 +05:00
PCoder
4ef4eaf785 Merge branch 'master' into ldap_integration 2019-12-18 21:22:57 +05:30
b29ff91b46 utils/migration/0007 removed 2019-12-18 15:43:28 +05:00
PCoder
cdaf498487 Remove default for CharField (introduced unwantedly) 2019-12-17 22:09:34 +05:30
PCoder
33120d14f3 Modify billing address form and signup forms to include vat_number 2019-12-17 21:35:02 +05:30
PCoder
69061c016b Improve string representation of the billing address 2019-12-17 18:45:29 +05:30
b52f2de8d7 now using hash func from utils.ldap_manager 2019-12-14 14:29:45 +05:00
2a1932e052 Added validator to allow only letters + spaces + hyphen, Normalizing usernames to ASCII 2019-12-13 20:37:30 +05:00
b4995336c6 username would consist of only alphanumerics, ldap fields are encoded in utf-8 2019-12-13 17:52:00 +05:00
PCoder
49453cacd4 Merge remote-tracking branch 'mainRepo/master' into ldap_integration 2019-12-12 21:33:49 +05:30
PCoder
fbfc1152b8 Remove unknown or unspecified country option 2019-12-12 17:42:18 +05:30
3b9322b929 init commit 2019-12-10 22:53:50 +05:00
PCoder
b33271ce7d Make vat_rate Decimal before Decimal operations 2019-12-07 19:38:33 +05:30
PCoder
3b0e479a70 Use country specific vats for dcl vm buy flow 2019-12-07 19:26:21 +05:30
PCoder
e493a9f3d1 Allow creating yearly/monthly Stripe plans 2019-11-15 19:47:11 +05:30
PCoder
f6feb88708 Revert back starts with logic 2019-11-15 13:32:49 +05:30
PCoder
f5372ecd1e Fix bug: use country startswith instead of exact matching
Countries like FR are represented as FR
MC
2019-11-15 13:20:24 +05:30
PCoder
d399fe6e79 Handle DoesNotExist better 2019-11-15 12:24:39 +05:30
PCoder
44a20a5029 Apply country specific VAT rates for Generic Products 2019-11-15 11:58:15 +05:30
PCoder
8b8c93d23e Filter distinct public keys only 2019-08-26 16:02:08 +05:30
PCoder
26fab27c3f Set new_user_hosting_key_id session variable to track newly created key 2019-07-01 23:17:27 +05:30
PCoder
8efe978b23 Don't make SSHKeyCreateView with LoginRequiredMixin 2019-07-01 21:01:41 +05:30
PCoder
561178e473 Set success_url from session and call super post method 2019-07-01 20:48:34 +05:30
PCoder
c35bc79c5c Set success_url based on flow: hosting vs landing 2019-07-01 20:28:26 +05:30
PCoder
2c74eae3f9 Remove commented code 2019-07-01 08:56:43 +05:30
PCoder
b6eb72af7d Refactor SSHKeyCreateView to utils
Common between hosting/datacenterlight apps
2019-07-01 08:08:43 +05:30
PCoder
21eb88ef62 Add get_vm_config_from_stripe_id stripe util function 2019-04-20 18:53:20 +02:00
PCoder
ecfec9dd21 Handle invoice item in line items also 2019-04-20 08:57:13 +02:00
PCoder
8816793803 Add Line item 2019-04-13 13:42:04 +02:00