Developer forum

Forum » Ecommerce - Standard features » PromoCodeChecker does not compare dates accurately

PromoCodeChecker does not compare dates accurately

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

The method Dynamicweb.Ecommerce.Orders.SalesDiscounts.PromoCodeChecker.CheckOrderPromoCode is not validating the dates accurately, returning a voucher code to be both valid and expired at the same time, when the Valid To date is set to "Never"

 

Check it out here http://www.screencast.com/t/MHzDuYWzLlz
 

This sounds like a bug. Can you confirm?

 

Best Regards,

Nuno Aguiar


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Nuno,
yes, this is a bug. New tfs# 48566 was created.
Regards, Dmitrij

Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

HI Dmitrij,

 

Thanks for confirming.

 

Best Regards,

Nuno Aguiar

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Nuno

The problem regarding #48566 Dynamicweb.Ecommerce.Orders.SalesDiscounts.PromoCodeChecker.CheckOrderPromoCode is not validating the dates accurately

Has been resolved in Dynamicweb version 9.4.9

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum