Fix wrong logging
This commit is contained in:
parent
e522ac0f61
commit
e9801eb9c4
1 changed files with 1 additions and 1 deletions
|
@ -716,7 +716,7 @@ class OrderConfirmationView(DetailView, FormView):
|
||||||
request.session.get('token')
|
request.session.get('token')
|
||||||
)
|
)
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"card_details=%s stripe_api_cus_id=%s" % (card_details))
|
"card_details=%s" % (card_details))
|
||||||
if not card_details.get('response_object'):
|
if not card_details.get('response_object'):
|
||||||
msg = card_details.get('error')
|
msg = card_details.get('error')
|
||||||
messages.add_message(self.request, messages.ERROR, msg,
|
messages.add_message(self.request, messages.ERROR, msg,
|
||||||
|
|
Loading…
Reference in a new issue