Commit 6c968fdb authored by PCoder's avatar PCoder

Redirect to dcl payment

We no longer seem to use hosting payment
parent 44ebb719
...@@ -598,7 +598,7 @@ class OrderConfirmationView(DetailView, FormView): ...@@ -598,7 +598,7 @@ class OrderConfirmationView(DetailView, FormView):
payment_method payment_method
) )
if not card_details.get('response_object'): if not card_details.get('response_object'):
return HttpResponseRedirect(reverse('hosting:payment')) return HttpResponseRedirect(reverse('datacenterlight:payment'))
card_details_response = card_details['response_object'] card_details_response = card_details['response_object']
context['cc_last4'] = card_details_response['last4'] context['cc_last4'] = card_details_response['last4']
context['cc_brand'] = card_details_response['brand'] context['cc_brand'] = card_details_response['brand']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment