diff --git a/datacenterlight/utils.py b/datacenterlight/utils.py index 11d2b82e..08dd73aa 100644 --- a/datacenterlight/utils.py +++ b/datacenterlight/utils.py @@ -34,7 +34,8 @@ def create_vm(billing_address_data, stripe_customer_id, specs, street_address=billing_address_data['street_address'], city=billing_address_data['city'], postal_code=billing_address_data['postal_code'], - country=billing_address_data['country'] + country=billing_address_data['country'], + vat_number=billing_address_data['vat_number'], ) billing_address.save() customer = StripeCustomer.objects.filter(id=stripe_customer_id).first() diff --git a/digitalglarus/forms.py b/digitalglarus/forms.py index a0e685f8..200099e3 100644 --- a/digitalglarus/forms.py +++ b/digitalglarus/forms.py @@ -35,6 +35,7 @@ class MembershipBillingForm(BillingAddressForm): 'city': _('City'), 'postal_code': _('Postal Code'), 'country': _('Country'), + 'vat_number': _('VAT Number'), }