Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consulting
    • Accounting Firm
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Solar Energy Systems
    • Shoe Maker
    • Serveis de neteja
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

"value must be less than 99"

Subscriure's

Get notified when there's activity on this post

This question has been flagged
creditcardcheckoutodoo.shv17
2 Respostes
695 Vistes
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
Descartar
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
Descartar
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
Descartar
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!

Registrar-se
Related Posts Respostes Vistes Activitat
Discount Free Gift Solved
odoo.sh v17
Avatar
Avatar
Avatar
Avatar
4
d’ag. 25
1923
Add fee to sales order based on cart total
odoo.sh v17
Avatar
Avatar
2
de set. 25
1151
Variant Purchase Price Solved
odoo.sh v17
Avatar
Avatar
1
de juny 25
2191
Required attribue Solved
odoo.sh v17
Avatar
Avatar
1
d’ag. 25
5636
Change Text Color of Discount Price
odoo.sh v17
Avatar
Avatar
1
de juny 25
1500
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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