From ff993e32db22bf35e77b7d3d18da9192c1f956a6 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 23 Sep 2018 17:01:29 +0200 Subject: [PATCH] Revert back to POST parameters for billing-form method --- datacenterlight/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 2e58358a..da121c8f 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -292,11 +292,11 @@ class PaymentOrderView(FormView): return self.render_to_response(context) if request.user.is_authenticated(): address_form = BillingAddressForm( - data=request.GET, + data=request.POST, ) else: address_form = BillingAddressFormSignup( - data=request.GET, + data=request.POST, ) if address_form.is_valid(): # 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 self.request.session['generic_payment_type'] == 'generic'): generic_payment_form = GenericPaymentForm( - data=request.GET, prefix='generic_payment_form' + data=request.POST, prefix='generic_payment_form' ) if generic_payment_form.is_valid(): logger.debug("Generic payment form is valid.")