display error message on failure
This commit is contained in:
parent
6fd859fb94
commit
1371f9856b
1 changed files with 11 additions and 0 deletions
|
|
@ -12,6 +12,14 @@
|
|||
alertClass="alert-danger"
|
||||
:isDismissible="false"
|
||||
@textLinkClicked="paymentFailedPayLater" />
|
||||
<alert
|
||||
v-if="displayPayInAdvanceAfterPayAlert"
|
||||
name="payInAdvanceAfterPayErrorAlert"
|
||||
class="my-4"
|
||||
cmsWidgetName="PayInAdvanceAfterpayErrorAlertWidget"
|
||||
alertClass="alert-danger"
|
||||
:isDismissible="false"
|
||||
@textLinkClicked="paymentFailedPayLater" />
|
||||
|
||||
<div id="card-container">
|
||||
<iframe
|
||||
|
|
@ -537,6 +545,9 @@ export default {
|
|||
},
|
||||
displayPayInAdvanceCreditCardAlert() {
|
||||
return this.displayPayInAdvanceAlert(paymentMethods.CREDIT_CARD);
|
||||
},
|
||||
displayPayInAdvanceAfterPayAlert() {
|
||||
return this.displayPayInAdvanceAlert(paymentMethods.AFTERPAY);
|
||||
}
|
||||
},
|
||||
methods:
|
||||
|
|
|
|||
Loading…
Reference in a new issue