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

All Payment Transactions are considered as payzen.

parent 62908452
......@@ -51,11 +51,8 @@
<item>
<key> <string>_body</string> </key>
<value> <string>portal = context.getPortalObject()\n
integration_site = portal.restrictedTraverse(portal.portal_preferences.getPreferredPayzenIntegrationSite())\n
sale_trade_condition = integration_site.getSourceTrade()\n
for payment_transaction in portal.portal_catalog(\n
portal_type="Payment Transaction", \n
specialise_relative_url=sale_trade_condition,\n
simulation_state="confirmed",\n
):\n
# do not trust catalog\n
......
44
\ No newline at end of file
45
\ 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