Skip to content
Browse files

[FIX] website_sale: fix authorized message

Field `auth_msg` never existed, this is an uncaught mistake. This commit
removes its usage and displays the fallback message to avoid runtime

Closes #31903

Co-authored-by: Marius Stedjan <>
  • Loading branch information...
johandem and willmakenoise committed Mar 18, 2019
1 parent d7ca035 commit f592ecb38c1fca66dd11d6c6b991d95267b79330
Showing with 1 addition and 2 deletions.
  1. +1 −2 addons/website_sale/views/templates.xml
@@ -1604,8 +1604,7 @@
<span t-else="">An error occured while processing your payment. Please try again or contact your administrator.</span>
<t t-if="payment_tx_id.state == 'authorized'">
<span t-if="payment_tx_id.acquirer_id.auth_msg" t-raw="payment_tx_id.acquirer_id.auth_msg"/>
<span t-else="">Your payment has been authorized.</span>
<span>Your payment has been authorized.</span>
<div t-if="payment_tx_id.acquirer_id.post_msg" t-att-class="'card-body %s' % (

0 comments on commit f592ecb

Please sign in to comment.
You can’t perform that action at this time.