Redirect to dcl payment

We no longer seem to use hosting payment
This commit is contained in:
PCoder 2021-01-02 09:02:58 +05:30
parent 44ebb71916
commit 6c968fdbb8

View file

@ -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']