Revert back to simple error message
This commit is contained in:
parent
1dfe1d7cf8
commit
5bbfb54b79
1 changed files with 1 additions and 2 deletions
|
@ -530,9 +530,8 @@ class OrderConfirmationView(DetailView):
|
||||||
'msg_title': str(_('Error.')),
|
'msg_title': str(_('Error.')),
|
||||||
'msg_body': str(
|
'msg_body': str(
|
||||||
_('There was a payment related error.'
|
_('There was a payment related error.'
|
||||||
' Details: {error_detail}.'
|
|
||||||
' On close of this popup, you will be redirected back to'
|
' 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),
|
return HttpResponse(json.dumps(response),
|
||||||
content_type="application/json")
|
content_type="application/json")
|
||||||
|
|
Loading…
Reference in a new issue