Commit ea9fa6a9 authored by Łukasz Nowak's avatar Łukasz Nowak

There is only PaymentTransaction_updateStatus which does all.

parent c9f550c7
......@@ -71,10 +71,7 @@ if integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativ
current_id = integration_site.getMappingFromCategory(\'causality/%s\' % context.getRelativeUrl())\n
current_today, transaction_id = current_id.split(\'_\')\n
\n
if transaction_id is not None:\n
context.PaymentTransaction_updateStatus()\n
elif previous_id is not None:\n
context.PaymentTransaction_registerPayzen()\n
context.PaymentTransaction_updateStatus()\n
\n
if context.getSimulationState() == \'confirmed\':\n
message = context.Base_translateString("Payment was automatically registered to PayZen system.")\n
......
415
\ No newline at end of file
416
\ 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