Commit 070b9fea authored by Romain Courteaud's avatar Romain Courteaud

Change event permission at the end of the script.

parent 8743dda6
......@@ -76,9 +76,6 @@ transaction_date, transaction_id = payment_transaction.PaymentTransaction_genera
if transaction_id is None:\n
raise ValueError, "Transaction already registered"\n
\n
payzen_event.confirm()\n
payzen_event.acknowledge(comment=\'Automatic acknowledge as result of correct communication\')\n
\n
today = now.toZone(\'UTC\').asdatetime().strftime(\'%Y%m%d\')\n
payzen_dict = {\n
\'vads_currency\': payment_transaction.getResourceValue().Currency_getIntegrationMapping(),\n
......@@ -105,6 +102,9 @@ payzen_event.newContent(\n
portal_type=\'Payzen Event Message\',\n
text_content=html_document,\n
)\n
\n
payzen_event.confirm()\n
payzen_event.acknowledge(comment=\'Automatic acknowledge as result of correct communication\')\n
</string> </value>
</item>
<item>
......
92
\ No newline at end of file
93
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment