All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.checkout_step.payment_method.jsp Maven / Gradle / Ivy

There is a newer version: 5.0.100
Show newest version
<%--
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */
--%>

<%@ include file="/init.jsp" %>

<%
PaymentMethodCheckoutStepDisplayContext paymentMethodCheckoutStepDisplayContext = (PaymentMethodCheckoutStepDisplayContext)request.getAttribute(CommerceCheckoutWebKeys.COMMERCE_CHECKOUT_STEP_DISPLAY_CONTEXT);

List commercePaymentMethodGroupRels = paymentMethodCheckoutStepDisplayContext.getCommercePaymentMethodGroupRels();

String commercePaymentMethodKey = BeanParamUtil.getString(paymentMethodCheckoutStepDisplayContext.getCommerceOrder(), request, "commercePaymentMethodKey");
%>

var continueButton = A.one('#continue'); if (continueButton) { Liferay.Util.toggleDisabled(continueButton, true); }
    <% for (CommercePaymentMethodGroupRel commercePaymentMethodGroupRel : commercePaymentMethodGroupRels) { %>
  • <% String thumbnailSrc = commercePaymentMethodGroupRel.getImageURL(themeDisplay); %>
    <%= HtmlUtil.escapeAttribute(commercePaymentMethodGroupRel.getName(locale)) %>
  • <% } %>
var value = A.one('#continue'); if (value) { Liferay.Util.toggleDisabled(value, true); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy