Revert back to POST parameters for billing-form method
This commit is contained in:
parent
2a694295ad
commit
ff993e32db
1 changed files with 3 additions and 3 deletions
|
@ -292,11 +292,11 @@ class PaymentOrderView(FormView):
|
||||||
return self.render_to_response(context)
|
return self.render_to_response(context)
|
||||||
if request.user.is_authenticated():
|
if request.user.is_authenticated():
|
||||||
address_form = BillingAddressForm(
|
address_form = BillingAddressForm(
|
||||||
data=request.GET,
|
data=request.POST,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
address_form = BillingAddressFormSignup(
|
address_form = BillingAddressFormSignup(
|
||||||
data=request.GET,
|
data=request.POST,
|
||||||
)
|
)
|
||||||
if address_form.is_valid():
|
if address_form.is_valid():
|
||||||
# Check if we are in a generic payment case and handle the generic
|
# Check if we are in a generic payment case and handle the generic
|
||||||
|
@ -304,7 +304,7 @@ class PaymentOrderView(FormView):
|
||||||
if ('generic_payment_type' in request.session and
|
if ('generic_payment_type' in request.session and
|
||||||
self.request.session['generic_payment_type'] == 'generic'):
|
self.request.session['generic_payment_type'] == 'generic'):
|
||||||
generic_payment_form = GenericPaymentForm(
|
generic_payment_form = GenericPaymentForm(
|
||||||
data=request.GET, prefix='generic_payment_form'
|
data=request.POST, prefix='generic_payment_form'
|
||||||
)
|
)
|
||||||
if generic_payment_form.is_valid():
|
if generic_payment_form.is_valid():
|
||||||
logger.debug("Generic payment form is valid.")
|
logger.debug("Generic payment form is valid.")
|
||||||
|
|
Loading…
Reference in a new issue