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
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
4a40438edc
Also handle ch_vat
2019-12-25 23:10:18 +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
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
1400d27afa
Handle tax_id creation
2019-12-25 20:11:15 +05:30
PCoder
b919b6cfbd
Fix wrong indentation
2019-12-21 08:51:11 +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
PCoder
ed74504270
Bugfix: Swiss VAT wrongly being applied to non EU customers
2019-12-18 19:33:44 +05:30
PCoder
24edf05e7a
Save vat_number after payment is submitted
2019-12-17 23:57:15 +05:30
PCoder
6ea486b527
Initialize vat number in payment forms
2019-12-17 23:48:05 +05:30
PCoder
5e97d70a5e
Save VAT number
2019-12-17 22:52:22 +05:30
PCoder
d8172d6bb2
Fix vat_country
2019-12-07 19:42:46 +05:30
PCoder
3b0e479a70
Use country specific vats for dcl vm buy flow
2019-12-07 19:26:21 +05:30
PCoder
15ef20dbc1
Fix yearly email
2019-11-15 22:58:47 +05:30
PCoder
e493a9f3d1
Allow creating yearly/monthly Stripe plans
2019-11-15 19:47:11 +05:30
PCoder
3599f0bff4
Show VAT elegantly
2019-11-15 13:11:11 +05:30
PCoder
76c2b9d16c
Fix bug: change arg name
2019-11-15 12:23:44 +05:30
PCoder
44a20a5029
Apply country specific VAT rates for Generic Products
2019-11-15 11:58:15 +05:30
PCoder
903ef48c75
Format cc month to 2 decimal places
2019-07-09 19:03:09 +05:30
PCoder
59c45492a9
Add expiry year and month in the settings and order payment pages
2019-07-09 18:40:41 +05:30
PCoder
dfb16f0c25
Save new user's hosting key only in that case
2019-07-03 05:13:02 +05:30
PCoder
670c2b18a9
Set user_hosting_key's user to the newly created user
2019-07-01 23:09:42 +05:30
PCoder
c285e1d9eb
Set respective order_confirm_url for landing vs hosting flows
...
For hosting flow also take the user to add_ssh_key after payment
2019-07-01 20:30:06 +05:30
PCoder
207c3a6c6c
Skip SSH key page for generic products page
2019-07-01 08:57:39 +05:30
PCoder
79eba3b70c
Remove add SSH key form in order confirmation related code
2019-07-01 08:28:28 +05:30
PCoder
47fd9a8f28
Adjust urls in datacenterlight/hosting apps urls/views after refactor
2019-07-01 08:09:37 +05:30
PCoder
f502e53845
Add basic implementation of AskSSHKeyView
2019-07-01 06:45:48 +05:30
PCoder
feeb102f92
Do SSH key validation only if the user doesn't have an existing key and
...
the user has input some value in the add ssh key field
2019-06-25 03:48:29 +02:00
PCoder
9ee1b7c124
Make public_key form params mandatory only if existing keys do not exist
2019-06-25 02:25:17 +02:00
PCoder
ecc26d14e5
Show previous keys if exist in order confirmation
2019-06-24 17:24:35 +02:00
PCoder
87f5bf3dcc
Pass UserHostingKeyForm to the context of OrderConfirmationView
2019-06-24 04:32:27 +02:00
1bfb710ee6
Change datacenterlight.ch message form to send email to support@ungleich.ch
2018-11-11 17:01:19 +01:00
PCoder
c36554b4d1
Round total_price also to 2 decimal places
2018-10-18 06:58:18 +02:00
PCoder
42d6f38f0c
Merge branch 'master' into task/5681/offer-512mb-ram
2018-10-08 07:56:57 +02:00
PCoder
5985ded36f
Obtain product_slug from session
...
Obtaining slug from kwargs won't work in OrderConfirmation page
because we do not set the kwargs for that page. To resolve this,
I add the product_slug to the generic_payment_details dict in the
session
2018-10-06 07:31:41 +02:00
PCoder
2b7d4bbef5
Redirect to product page on error
2018-10-05 11:10:10 +02:00
PCoder
10dab1350a
Use refactored method clear_all_session_vars
2018-10-05 11:01:49 +02:00
PCoder
12eabc5f6c
Redirect user to product page on login
...
For the case when user is on product page and tries logging in
2018-10-05 08:58:57 +02:00
PCoder
ec70cd1c83
Pass product_id to ProductPaymentForm
2018-10-03 22:53:24 +02:00
PCoder
193b87bbb5
Use proper payment form
2018-10-03 09:36:43 +02:00
PCoder
ca18004819
Remove stale reference to product_id
2018-10-03 09:36:00 +02:00