Skip to content

It is possible to place an order with an invalid postal code. #112

Description

@paulnoelcholot

Prerequisites

Describe the bug and add attachments

With version 0.6.2, I can place an order and pay via PayPal even if my postal code is invalid.

PR-2026-07-06_11.13.19.mp4

Steps to reproduce

  1. FO > OPC
  2. Fill guest form
  3. Country : Belgium
  4. Zippostal code : 12345
  5. Pay with Paypal
  6. No error

Expected behavior

It should not be possible to access the PayPal payment page with an invalid postal code (in this case, a 5-digit Belgian postal code instead of a 4-digit one).

Actual Result

It is possible to place an order with an invalid postal code.

PrestaShop version where the bug happens

develop

Module version where the bug happens

0.6.2

PHP version(s) where the bug happened

No response

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions