Chipotle Mexican Grill has been leaving money on the table, thanks to an apparent error in the e-commerce operation of the restaurant chain.

On Thursday, Jason Grigsby, co-founder of the biz Cloud Four application development, published his analysis of the restaurant's online order form. The website code, he says, contains an error that, according to him, is costing the company millions in lost sales.

While trying to send an order, Grigsby found two error messages, one that indicated that the website had failed to save his credit. card number, despite not having checked the box to allow this, and the other is a general shipping error.

Errors occurred every time you tried to use your browser's autocomplete capability, but not when data was entered manually. After further scrutiny, he noted that the expiration date of his credit card was still changed after the date was completed.

Grigsby traced the problem to the way the food business implemented the expiration date entry field on its order form. The order form, created using JavaScript with the angular frame, is based on an angular module called ui-mask that allows developers to limit entry based on a predetermined pattern.

In this case, The attribute ui-mask = "99" limits the input field of the expiration date to two characters, but provides the incorrect ones. "When the autocomplete tries to enter 2023, this ui-mask only allows the first two characters to be entered," explains Grigsby.

  Find errors in the code

They say that the software will eat the world. Here are some software errors that detected it


By altering the expiration date of the credit card, the form returns an error and prevents the order from passing. "I suppose it is the background processor that rejects the card because the expiration year is incorrect [since] happens after the form is submitted," he explained in an email to The Register .

Based on the public report of Chipotle Grigsby estimates that Chipotle could eliminate an additional $ 4.4m in sales annually by eliminating this error.

Grigsby said that he mentioned @ChipotleTweets in [theaveragevalueof$16-$17orderandassumingthattheautomaticfullwouldincreasethetransactionsinhalfapercentage a tweet that he published about his findings, but he didn't bother to see if the company had a report of a company.

"That said, I see problems with autocomplete in many places," he said. "Chipotle was just a useful example I found and, unlike most companies, they provided some information in their financial reports that made it possible to guess, even if it is a wild guess, what the financial impact might be."

The Registry asked Chipotle for a comment, and we have not received a reply. ®

What follows after Netezza?

For More Updates Check out Blog, Windows Softwares Drivers, Antivirus, Ms Office, Graphic Design Don’t Forget to Look Our Facebook Page Get Into Pc like us & follow on Twitter- @getinpc

Please Note: This content is provided and hosted by a 3rd party server. Sometimes these servers may include advertisements. does not host or upload this material and is not responsible for the content.