Skip to content

Missing Validation at some Payment Method Settings #23916

@edenduong

Description

@edenduong

Preconditions (*)

  1. Magento 2.3 develop

Steps to reproduce (*)

  1. Go to Store->Configurations->Sales->Payment Method
  2. Find these fields:
  • Check/Money Order
    • Minimum Order Total
    • Maximum Order Total
  • Bank Transfer Payment
    • Minimum Order Total
    • Maximum Order Total
    • Sort Order
  • Cash On Delivery Payment
    • Minimum Order Total
    • Maximum Order Total
    • Sort Order
  • Purchased Order
    • Minimum Order Total
    • Maximum Order Total
  • Authorize.Net Direct Post (Deprecated)
    • Minimum Order Total
    • Maximum Order Total
  • Authorize.Net
    • Minimum Order Total
    • Maximum Order Total
  1. Fill string "one" to the fields
  2. Save

Expected result (*)

  1. Can not save because it is not number

Actual result (*)

  1. Save normally with the wrong data type

Metadata

Metadata

Assignees

Labels

Component: BackendComponent: ConfigFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions