From bd7db306336232a4e34b267a934bbae6cdd6bf0f Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 27 Oct 2017 00:43:07 +0200 Subject: [PATCH] Add card hidden field to BillingAddressForm --- utils/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/forms.py b/utils/forms.py index f8a6d103..bd00b42d 100644 --- a/utils/forms.py +++ b/utils/forms.py @@ -117,6 +117,7 @@ class EditCreditCardForm(forms.Form): class BillingAddressForm(forms.ModelForm): token = forms.CharField(widget=forms.HiddenInput(), required=False) + card = forms.CharField(widget=forms.HiddenInput(), required=False) class Meta: model = BillingAddress