Commit graph

1219 commits

Author SHA1 Message Date
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
PCoder
d1fd57b730 Correct the way we get amount from discount 2020-01-24 15:26:41 +05:30
PCoder
156930ab26 Add price_after_discount explicitly for showing in template 2020-01-24 15:24:46 +05:30
PCoder
38550ea75c Rearrange the way we show VAT and discount calculations 2020-01-24 15:00:16 +05:30
PCoder
e01b27835e Make subscription exclusive of VAT + Add VAT separately to subscription 2020-01-24 14:11:55 +05:30
PCoder
a00a9f6ff0 Show invoices directly from stripe 2020-01-20 12:07:32 +05:30
PCoder
9212c02cd7 Check vat_validation_status exists in dict before using it 2020-01-10 19:47:49 +05:30
PCoder
ed1a4fc1a6 Merge remote-tracking branch 'mainRepo/master' into feature/VAT_number 2020-01-01 00:21:35 +05:30
PCoder
0bca5113ca Fix unwanted char 2020-01-01 00:10:56 +05:30
PCoder
7423a80670 Use correct variable 2019-12-31 22:50:46 +05:30
PCoder
ca5724f10f Fix error message 2019-12-31 18:36:38 +05:30
PCoder
2378410f2d Compare country for creating new tax id 2019-12-31 18:22:57 +05:30
PCoder
9078e46196 Add log 2019-12-31 18:08:09 +05:30
PCoder
3ca7e89f4f Show VAT for eu countries only 2019-12-31 17:28:11 +05:30
PCoder
b567b01362 For CH we don't care whether VAT is validated or not 2019-12-26 20:51:11 +05:30
PCoder
12975565a5 More bugfix 2019-12-26 20:09:28 +05:30
PCoder
d62986c91f Bugfix: use correct total price after discount 2019-12-26 20:05:55 +05:30
PCoder
fcdabd8dc3 Set vat validation status in more places 2019-12-26 19:55:28 +05:30
PCoder
a5c7865811 Save validation status 2019-12-26 19:37:57 +05:30
PCoder
7eed04ec73 Remove one log too many 2019-12-26 19:16:26 +05:30
PCoder
cbf2f05d70 Use the latest billing address as the default one 2019-12-26 18:54:17 +05:30
PCoder
c6147c887c More logging + improve ba string repr 2019-12-26 18:34:26 +05:30
PCoder
064ea5be2f More logging 2019-12-26 18:26:30 +05:30
PCoder
32d9f06c18 Add logger messages 2019-12-26 18:22:08 +05:30
PCoder
6d0a7f7049 Improve stripe_customer_id 2019-12-26 18:06:22 +05:30
PCoder
ad52338653 Save billing addresses 2019-12-26 14:27:16 +05:30
PCoder
d8c03a4364 Add missing param 2019-12-26 14:21:18 +05:30
PCoder
9aff248d31 Use correct billingaddress 2019-12-26 14:19:07 +05:30
PCoder
99e70d95c4 VAT number validation in settings 2019-12-26 13:31:15 +05:30
PCoder
7d9ab322c9 Remove vat_validate_on session var 2019-12-26 12:38:00 +05:30
PCoder
242dbb2479 Bugfix: pass param 2019-12-26 11:50:15 +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
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