Add missing vat_number while saving billing address
This commit is contained in:
parent
e48ae6a39d
commit
8ebd12c420
2 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -35,6 +35,7 @@ class MembershipBillingForm(BillingAddressForm):
|
|||
'city': _('City'),
|
||||
'postal_code': _('Postal Code'),
|
||||
'country': _('Country'),
|
||||
'vat_number': _('VAT Number'),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue