def _record_payment_info(params, order):
 if settings.FEATURES.get('LOG_POSTPAY_CALLBACKS'):
  log.info('Order %d processed (but not completed) with params: %s', order.id, json.dumps(params))
 order.processor_reply_dump = json.dumps(params)
 order.save()

def _record_payment_info ( params , order ) : if settings . FEATURES . get ( 'LOG_POSTPAY_CALLBACKS' ) : log . info ( 'Order %d processed (but not completed) with params: %s' , order . id , json . dumps ( params ) ) order . processor_reply_dump = json . dumps ( params ) order . save ( )
record the purchase and run purchased_callbacks args: params : the parameters we received from cybersource .