Fix wrong logging

This commit is contained in:
PCoder 2020-12-03 09:48:08 +05:30
parent e522ac0f61
commit e9801eb9c4

View file

@ -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,