Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,16 @@ public void render(
HttpServletResponse httpServletResponse)
throws Exception {

CommerceOrder commerceOrder =
(CommerceOrder)httpServletRequest.getAttribute(
CommerceCheckoutWebKeys.COMMERCE_ORDER);

httpServletRequest.setAttribute(
"orderId", commerceOrder.getCommerceOrderId());

httpServletRequest.setAttribute(
CommerceClientExtensionWebKeys.RENDER_URL, _baseURL + "/index.js");


if (Validator.isNotNull(_paymentMethodKey)) {
_renderPayment(httpServletRequest);
Expand Down Expand Up @@ -278,4 +286,4 @@ private void _renderPayment(HttpServletRequest httpServletRequest)
private final UserService _userService;
private final boolean _visible;

}
}