Revert back to simple error message

This commit is contained in:
M.Ravi 2017-09-29 21:54:31 +02:00
parent 1dfe1d7cf8
commit 5bbfb54b79

View file

@ -530,9 +530,8 @@ class OrderConfirmationView(DetailView):
'msg_title': str(_('Error.')),
'msg_body': str(
_('There was a payment related error.'
' Details: {error_detail}.'
' On close of this popup, you will be redirected back to'
' the payment page.'.format(error_detail=msg)))
' the payment page.'))
}
return HttpResponse(json.dumps(response),
content_type="application/json")