Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

"value must be less than 99"

Odoberať

Get notified when there's activity on this post

This question has been flagged
creditcardcheckoutodoo.shv17
2 Replies
783 Zobrazenia
Avatar
Sean Westfield

This error refers to the credit card expiration field during checkout. Can anyone tell me where this error is located? I'd like to make it a little more detailed as to what the customer needs to do.


Thank you

0
Avatar
Zrušiť
Christoph Farnleitner

Can't find an occurrence of the string 'value must be less than' matching the described area. Furthermore, credit card payments aren't handled by Odoo but via 3rd party integrations (Payment Provider) - which one are you using? I would suspect this is a response message from such a provider. Screenshot and details about the provider in use would be helpful.

Sean Westfield
Autor

Thank you for the response.

We are using authorize (dot) net.

I'll try to get a screenshot, but I provided all the info

Christoph Farnleitner

Ah, Sean, long time no see;
Marking provided answers as a solution also gives you karma points, just saying ;)
Let me see if there's something interesting around the authroize.net integration...

Sean Westfield
Autor

Oh yeah, I can't post a screenshot or post a link here

Christoph Farnleitner

Is 'value must be less than 99' the exact message returned? Any thing in addition?

Avatar
Christoph Farnleitner
Best Answer


You're issue is with the behavior of the browser you are using.

In Mozilla Firefox the message would be 'Please select a value that is no more than 99.'

In Chromium-based browsers it would be 'Value must be less than or equal to 99.'


These messages are constructed based on the HTML specs for input fields of type 'number', when the 'max' attribute is exceeded.


You would need to apply custom JS-based validation on the field with id o_authorize_year if you'd want to change that. The input field, ultimately making your web browser raising the error, is defined in https://github.com/odoo/odoo/blob/17.0/addons/payment_authorize/views/payment_authorize_templates.xml#L19

1
Avatar
Zrušiť
Avatar
Sean Westfield
Autor Best Answer

Excellent. Thank you for taking the time to look at this.

Nothing additional, what I wrote is what was passed to me. 

Given everything you discovered, I guess it would be easier to just add some text below that field explaining to only use 2 digits.


EDIT: My reply button is gone now so hopefully you'll see this. I like the drop down idea, I may just implement that. Thank you very much for your researching and helping out with this.

0
Avatar
Zrušiť
Christoph Farnleitner

Mh, you could consider making it a selection field though - with YY's in the near future (I guess no credit card will be valid for more than 6 years anyways, thus a range of options from 25 to 35 should probably be sufficient already - and occasionally updated)

Christoph Farnleitner

'My reply button is gone now' - Yeah, everyone can just add one answer to a post - this should encourage optimizing ones answers and prevent starting discussion chats making it look like there are a ton of answers to a questions when there isn't actually anything relevant.
'I like the drop down idea, I may just implement that.' - There might be still some JS validation that needs to be taken care about, but most heavy lifting must happen at the authorize.net servers already anyways.

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Discount Free Gift Solved
odoo.sh v17
Avatar
Avatar
Avatar
Avatar
4
aug 25
2120
Add fee to sales order based on cart total
odoo.sh v17
Avatar
Avatar
2
sep 25
1285
Variant Purchase Price Solved
odoo.sh v17
Avatar
Avatar
1
jún 25
2339
Required attribue Solved
odoo.sh v17
Avatar
Avatar
1
aug 25
5737
Change Text Color of Discount Price
odoo.sh v17
Avatar
Avatar
1
jún 25
1683
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now