Commit graph

4959 commits

Author SHA1 Message Date
PCoder
833dc9bdcb Change stripe_tax_id field to char + regenerate migrations 2019-12-26 11:41:29 +05:30
PCoder
9310f72cf9 Save tax id in billing address even if no StripeCustomer 2019-12-26 11:30:01 +05:30
PCoder
74d1bbb6d3 Add missing customer save call 2019-12-26 11:09:14 +05:30
PCoder
6fd0659c88 Another missing param 2019-12-26 11:02:58 +05:30
PCoder
4560c8bf83 Bugfix: Pass parameter name 2019-12-26 11:00:24 +05:30
PCoder
0e40ca6044 Also validate vat in order confirmation get 2019-12-26 10:55:01 +05:30
PCoder
c393902396 Save address form in payment post itself 2019-12-26 10:54:26 +05:30
PCoder
825e716625 Update tax_id fields of billing_addresses which belong to supplied user only 2019-12-26 10:51:50 +05:30
PCoder
0d208d2bd9 Take billing_address_id in validate_vat_number 2019-12-26 10:50:53 +05:30
PCoder
52201c0aa1 Clear billing_address_id session var also 2019-12-26 10:49:45 +05:30
PCoder
ca128dd8c4 Fix str formatting 2019-12-26 08:06:27 +05:30
PCoder
0b8315ca76 Remove wrong filter 2019-12-25 23:20:48 +05:30
PCoder
4a40438edc Also handle ch_vat 2019-12-25 23:10:18 +05:30
PCoder
908c2e055c Also clear vat_validation_status from session 2019-12-25 22:48:57 +05:30
PCoder
4491a52bd9 Check if vat_validation_status is in session 2019-12-25 22:45:55 +05:30
PCoder
b15ece7088 Validate VAT number only if it is set 2019-12-25 22:40:57 +05:30
PCoder
3b654f1c49 Correct++ 2019-12-25 22:35:41 +05:30
PCoder
752b61a852 Correct the way to get the first object 2019-12-25 22:33:56 +05:30
PCoder
110459b38d Show vat error in payment page 2019-12-25 22:27:14 +05:30
PCoder
de0fe77779 Bugfix: pass correct param 2019-12-25 22:22:08 +05:30
PCoder
785f99311d Handle invalid VAT number case 2019-12-25 21:02:43 +05:30
PCoder
8cc766b62f Update stripe to 2.41.0 to support tax id 2019-12-25 20:45:38 +05:30
PCoder
1b243822a9 Bugfix: remove unnecessary self param 2019-12-25 20:20:43 +05:30
PCoder
1400d27afa Handle tax_id creation 2019-12-25 20:11:15 +05:30
PCoder
8996254212 Save stripe tax id 2019-12-25 18:44:43 +05:30
PCoder
80f01aec07 Add steps to be followed for tax_id updated webhook 2019-12-25 12:36:47 +05:30
PCoder
127c83059f Add stub files from webhook app 2019-12-25 12:20:26 +05:30
PCoder
772c7557e3 Update Stripe version to 2.24.1 (supports webhook) 2019-12-25 12:09:43 +05:30
PCoder
55979f3701 Add webhook to installed apps + introduce some webhook constants 2019-12-25 12:09:04 +05:30
PCoder
f6832c090e Add webhooks/views.py 2019-12-25 12:07:42 +05:30
PCoder
cb065d36df Add webhook handling url 2019-12-25 12:07:09 +05:30
PCoder
50043f8283 Add webhook management command
Handles managing stripe webhooks
2019-12-25 12:03:58 +05:30
PCoder
c6db34efdd Add DateTimeField vat_number_validated_on 2019-12-25 11:00:04 +05:30
PCoder
92570ada7f Add VAT number to order detail (hosting) 2019-12-25 10:37:45 +05:30
PCoder
8ebd12c420 Add missing vat_number while saving billing address 2019-12-25 10:32:37 +05:30
PCoder
e48ae6a39d Update migration to make vat_number non mandatory 2019-12-25 08:31:40 +05:30
PCoder
6eb4b03afe Merge remote-tracking branch 'origin/master' into feature/VAT_number 2019-12-25 08:15:22 +05:30
PCoder
31905695c9 Add vertical spacing for mobile style 2019-12-24 19:00:17 +05:30
PCoder
6e17742d03 Update Changelog for 2.8.2 2019-12-24 18:02:14 +05:30
PCoder
7b7f8fb191 Set the calculator's post action url explicitly 2019-12-24 17:57:24 +05:30
PCoder
3ff9f25a7f Update Changelog for 2.8.1 2019-12-24 12:44:50 +05:30
PCoder
3b7183fc63 Set js in correct file 2019-12-24 10:49:12 +05:30
PCoder
3a0fe87a8e Use correct comparison format 2019-12-24 10:42:47 +05:30
PCoder
f1821954eb Set js for non transparent navbar always 2019-12-24 10:37:24 +05:30
PCoder
3b6e5d448b Add show non transparent navbar always option 2019-12-24 09:06:17 +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