Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 2x | @if (isApplicable()) {
<ul class="list-unstyled mb-0">
@if (redirectStatus === 'cancel') {
<ish-error-message [error]="{ message: 'shopping_cart.payment.canceled.text' | translate }" />
} @if (redirectStatus === 'failure') {
<ish-error-message
[error]="{
message: ('checkout.payment.sorry_message.text' | translate) + ' ' + ('checkout.payment.failed.text' | translate)
}"
/>
}
<!-- container for displaying of fast checkout payment methods -->
@if (paymentMethods$ | async; as paymentMethods) { @if (paymentMethods.length) {
<li class="d-block text-center pt-1">{{ 'shopping_cart.payment.or.text' | translate }}</li>
@for (paymentMethod of filteredPaymentMethods$ | async; track paymentMethod.id) {
<li class="d-block">
<div class="d-grid mt-2">
<button
type="button"
(click)="fastCheckout(paymentMethod.id)"
class="btn btn-lg btn-block btn-secondary"
[disabled]="paymentMethod.isRestricted"
>
{{ paymentMethod.displayName }}
</button>
</div>
<!-- payment cost information -->
<ish-basket-payment-cost-info [basket]="basket" [paymentMethod]="paymentMethod" [priceType]="priceType$ | async" />
</li>
} @if ('payment.paypal' | ishServerSetting) { @if (getPayPalPaymentMethod() | async; as paypalPaymentMethod) {
<li>
<ish-payment-paypal [selectedPaymentMethod]="paypalPaymentMethod" adapterType="Buttons" pageType="cart" />
</li>
} } } }
</ul>
}
|