Add card hidden field to BillingAddressForm
This commit is contained in:
parent
1374eaf1a2
commit
bd7db30633
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ class EditCreditCardForm(forms.Form):
|
||||||
|
|
||||||
class BillingAddressForm(forms.ModelForm):
|
class BillingAddressForm(forms.ModelForm):
|
||||||
token = forms.CharField(widget=forms.HiddenInput(), required=False)
|
token = forms.CharField(widget=forms.HiddenInput(), required=False)
|
||||||
|
card = forms.CharField(widget=forms.HiddenInput(), required=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = BillingAddress
|
model = BillingAddress
|
||||||
|
|
Loading…
Reference in a new issue