Log client secret

This commit is contained in:
PCoder 2020-12-24 20:07:31 +05:30
parent e9c596de66
commit 35cc9d4229

View file

@ -296,8 +296,8 @@ class PaymentOrderView(FormView):
logger.error("Could not create payment_intent %s" % logger.error("Could not create payment_intent %s" %
str(payment_intent_response)) str(payment_intent_response))
else: else:
logger.debug("payment_intent_obj = %s" % logger.debug("payment_intent.client_secret = %s" %
str(payment_intent)) str(payment_intent.client_secret))
context.update({'generic_payment_form': ProductPaymentForm( context.update({'generic_payment_form': ProductPaymentForm(
prefix='generic_payment_form', prefix='generic_payment_form',
initial={ initial={