Commit 37198d9a authored by Romain Courteaud's avatar Romain Courteaud

Payment created by order builder are handled with payzen

parent 11c9ac9d
......@@ -44,6 +44,7 @@
<string>source_payment</string>
<string>source_section</string>
<string>specialise</string>
<string>payment_mode</string>
</tuple>
</value>
</item>
......
......@@ -85,6 +85,7 @@ for invoice in portal.portal_catalog(**select_kw):\n
start_date=invoice.getStartDate(),\n
stop_date=invoice.getStopDate(),\n
specialise=invoice.getSpecialise(),\n
payment_mode=\'payzen\',\n
source_payment=\'organisation_module/slapos/bank_account\', # the other place defnied: business process\n
)\n
temp_movement_rec = newTempSimulationMovement(\n
......
......@@ -1235,6 +1235,7 @@ class TestSlapOSPaymentTransactionOrderBuilder(testSlapOSMixin):
'price_currency/%s' % invoice.getPriceCurrency(),
'resource/%s' % invoice.getResource(),
'source_payment/organisation_module/slapos/bank_account',
'payment_mode/payzen',
'source_section/%s' % invoice.getSourceSection(),
]
self.assertSameSet(expected_set, payment.getCategoryList())
......
203
\ No newline at end of file
204
\ 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