This is an automated email from the ASF dual-hosted git repository. jamesyong pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/release18.12 by this push: new 4b7a3b3 Fixed: processorder is submitted as GET instead of POST 4b7a3b3 is described below commit 4b7a3b378965f1162be9037ef0bd58e5bf0f47b5 Author: James Yong <jamesy...@apache.org> AuthorDate: Mon Jan 13 22:31:10 2020 +0800 Fixed: processorder is submitted as GET instead of POST (OFBIZ-11319) During checkout of shopping cart, it is observed that the processorder of the form action is submitted as GET which is incorrect. Thanks: Jacques for the review --- ecommerce/template/order/CheckoutReview.ftl | 2 +- ecommerce/template/order/QuickAnonCheckoutReview.ftl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecommerce/template/order/CheckoutReview.ftl b/ecommerce/template/order/CheckoutReview.ftl index cb0118d..3700d98 100644 --- a/ecommerce/template/order/CheckoutReview.ftl +++ b/ecommerce/template/order/CheckoutReview.ftl @@ -45,7 +45,7 @@ under the License. ${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")} <div class="row"> <div class="col-auto ml-auto"> - <form type="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}"> + <form method="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}"> <#if (requestParameters.checkoutpage)?has_content> <input type="hidden" name="checkoutpage" value="${requestParameters.checkoutpage}"/> </#if> diff --git a/ecommerce/template/order/QuickAnonCheckoutReview.ftl b/ecommerce/template/order/QuickAnonCheckoutReview.ftl index 5b2ed09..9408f89 100644 --- a/ecommerce/template/order/QuickAnonCheckoutReview.ftl +++ b/ecommerce/template/order/QuickAnonCheckoutReview.ftl @@ -53,7 +53,7 @@ under the License. ${screens.render("component://ecommerce/widget/OrderScreens.xml#quickAnonOrderHeader")} <br /> <div id="orderItemsSection">${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")}</div> -<form type="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}"> +<form method="post" action="<@ofbizUrl>processorder</@ofbizUrl>" name="${parameters.formNameValue}"> <table border="0" cellpadding="1" width="100%"> <tr> <td colspan="4">