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
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ class OrderConfirmationView(DetailView, FormView):
payment_method
)
if not card_details.get('response_object'):
return HttpResponseRedirect(reverse('hosting:payment'))
return HttpResponseRedirect(reverse('datacenterlight:payment'))
card_details_response = card_details['response_object']
context['cc_last4'] = card_details_response['last4']
context['cc_brand'] = card_details_response['brand']