# Mark on payment transaction history log that transaction was not processed yet\n
# Mark on payment transaction history log that transaction was not processed yet\n
storeWorkflowComment(transaction, \'Transaction status %s (%s) did not changed the document state\' % (transaction_status, transaction_status_description))\n
payzen_event.confirm()\n
payzen_event.confirm()\n
payzen_event.acknowledge(comment=\'Automatic acknowledge as result of correct communication\')\n
payzen_event.acknowledge(comment=\'Transaction not found on payzen side.\')\n
if isTransitionPossible(transaction, \'confirm\'):\n
if int(DateTime()) - int(transaction_date) > 86400:\n
transaction.confirm(comment=\'Confirmed as really saw in PayZen.\')\n
if isTransitionPossible(transaction, \'cancel\'):\n
if isTransitionPossible(transaction, \'confirm\'):\n
transaction.confirm(comment=comment)\n
if isTransitionPossible(transaction, \'start\'):\n
transaction.start(comment=comment)\n
if isTransitionPossible(transaction, \'stop\'):\n
transaction.stop(comment=comment)\n
\n
\n
if transaction.getSimulationState() == \'stopped\':\n
if transaction_status in mark_transaction_id_list:\n
# Mark on payment transaction history log that transaction was not processed yet\n
storeWorkflowComment(transaction, \'Transaction status %s (%s) did not changed the document state\' % (transaction_status, transaction_status_description))\n
payzen_event.confirm()\n
payzen_event.confirm()\n
payzen_event.acknowledge(comment=\'Automatic acknowledge as result of correct communication\')\n
payzen_event.acknowledge(comment=\'Automatic acknowledge as result of correct communication\')\n
if isTransitionPossible(transaction, \'confirm\'):\n
transaction.confirm(comment=\'Confirmed as really saw in PayZen.\')\n
\n
elif transaction_status in continue_transaction_id_list:\n
# Check authAmount and authDevise and if match, stop transaction\n