[FIX] website_sale: display payment error status when applicable
opw-2231276 closes odoo/odoo#50025 X-original-commit: 52f24423488fe919ddf40ee64c32e1c4818f2548 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
This commit is contained in:
@@ -1627,6 +1627,9 @@
|
||||
<t t-if="payment_tx_id.state == 'authorized'">
|
||||
<span>Your payment has been authorized.</span>
|
||||
</t>
|
||||
<t t-if="payment_tx_id.state == 'error'">
|
||||
<span t-esc="payment_tx_id.state_message"/>
|
||||
</t>
|
||||
</div>
|
||||
<div t-if="payment_tx_id.acquirer_id.provider == 'transfer' and order.reference" class="card-body">
|
||||
<b>Communication: </b><span t-esc='order.reference'/>
|
||||
|
||||
Reference in New Issue
Block a user