PAYPAL ------ The paypal tests are not working working for two reasons: - we check that there is no date in pending state on payment transaction, but since the refactoring in this commit: https://github.com/odoo/odoo/commit/01216345e28374b554bfe95df82d607c591271cf the date is always set before the validation of transaction. - Since the changes on dates, the datetime field doesn't return a string anymore and the comparison fails. So we convert the datetime to string for the comparison. BUCKAROO -------- The buckaroo tests were not working for multiple reasons. STRIPE ------ The payment stripe tests were not working because: - The reference set in transactions were not the same as the ones givent to the payment provider. - we were checking for a script tag in form that has been removed in commit https://github.com/odoo/odoo/commit/7c639be4aadce20bf6662ab347470fadf9afd99f AUTHORIZE --------- This test cannot be tested on runbot due to its server to server way of working closes odoo/odoo#30105
28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<template id="buckaroo_form">
|
|
<div>
|
|
<input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
|
|
<input type="hidden" name="Brq_websitekey" t-att-value="Brq_websitekey"/>
|
|
<input type="hidden" name="Brq_amount" t-att-value="Brq_amount"/>
|
|
<input type="hidden" name="Brq_currency" t-att-value="Brq_currency"/>
|
|
<input type="hidden" name="Brq_invoicenumber" t-att-value="Brq_invoicenumber"/>
|
|
<input type="hidden" name="Brq_signature" t-att-value="Brq_signature"/>
|
|
<input type="hidden" name="brq_test" t-att-value="brq_test"/>
|
|
<input type="hidden" name="Brq_culture" t-att-value="Brq_culture"/>
|
|
<!-- URLs -->
|
|
<input t-if="Brq_return" type="hidden" name='Brq_return'
|
|
t-att-value="Brq_return"/>
|
|
<input t-if="Brq_returncancel" type="hidden" name='Brq_returncancel'
|
|
t-att-value="Brq_returncancel"/>
|
|
<input t-if="Brq_returnerror" type="hidden" name='Brq_returnerror'
|
|
t-att-value="Brq_returnerror"/>
|
|
<input t-if="Brq_returnreject" type="hidden" name='Brq_returnreject'
|
|
t-att-value="Brq_returnreject"/>
|
|
<input type="hidden" name='add_returndata' t-att-value="add_returndata"/>
|
|
</div>
|
|
</template>
|
|
</data>
|
|
</odoo>
|