|
<div class="captcha-box"> <nop-captcha /> </div>
I added it to \Views\Checkout\OnePageCheckout, and it appears at the checkout page. However, the order can still be submitted without validating the reCaptcha. Please advise!
Posted:
February 14, 2019 at 12:58 AM
|
I want to add reCaptcha to the checkout page. [reCaptcha validation before clicking a Submit order button] May I know if anyone has done it before or which file I should look into?
Posted:
February 13, 2019 at 11:49 PM
|
[quote]
Please go to following file, It contains OrderStatus Enum.
..\Libraries\Nop.Core\Domain\Orders\OrderStatus.cs
/// <summary> /// Represents an order status enumeration /// </summary> public enum OrderStatus : int { /// <summary> /// Pending /// </summary> Pending = 10, /// <summary> /// Processing /// </summary> Processing = 20, /// <summary> /// Complete /// </summary> Complete = 30, /// <summary> /// Cancelled /// </summary> Cancelled = 40 } }
You can add your status here, note that numeric/integer value here will be stored in database and on site you will see status you've set against it here in ENUM file.
Hope this helps you in setting up your own Order status.
The same we can set payment status ans shipping status also.[/quote]
I successfully added the extra order status. I also want to know how to add a color button to it?
Posted:
September 19, 2018 at 6:40 AM
|
New York wrote: ...it only shows that particular customer's order items. ... I want is that clicking a product shows the total of each size and color purchased by customers.
What you want would require customization: A "Picking list" (PDF); on Orders list page, the store owner could select one or more open orders, and the picklist would print with separate sections per product (showing Product / Quantity / Customer.
Is there an existing plugin of "Picking list" (PDF) or it needs to be built?
Posted:
September 17, 2018 at 3:06 AM
|
I have a question about Nopcommerce Alipay 4.0 Plugin created by Nopcommerce Team. https://www.nopcommerce.com/p/963/alipay-payment-module-china.aspx When I checked the source code, it is only for Domestic Alipay Users.
The alipay account I applied for is global.alipay.com I updated alipayNotifyUrl and Post url here
In AliPayPaymentProcessor.cs LINE 27-28 private const string ShowUrl = "http://global.alipay.com/"; private const string Service = "create_forex_trade";
Line 134-139 var post = new RemotePost { FormName = "alipaysubmit", Url = "https://intlmapi.alipay.com/gateway.do?_input_charset=utf-8", Method = "POST" };
In PaymentAliPayController.cs LINE 114 var alipayNotifyUrl = $"https://intlmapi.alipay.com/gateway.do?service=notify_verify&partner={partner}¬ify_id={model.Form["notify_id"]}";
After I rebuilt the plugin and tested it, it shows "ILLEGAL_SIGN"
Can anyone please help?
Thanks
Posted:
September 17, 2018 at 2:55 AM
|