Skip to content

AppendReservationsAfterOrderPlacementPlugin afterPlace function doesnt work if SKU ends with a "." #28662

@AJHopper

Description

@AJHopper

Preconditions (*)

  1. Magento 2.3.5-p1
  2. php 7.2

Steps to reproduce (*)

  1. create a configurable product with a numeric sku ending in a "." example 12345.
  2. proceed through with a purchase of the product.

Expected result (*)

  1. purchase completes successfully and creates reservations for the order

Actual result (*)

  1. Order places into the back end successfully and payment method charges customer
  2. afterPlace function throws an exception of Undefined index: 101550. /vendor/magento/module-inventory-sales/Plugin/Sales/OrderManagement/AppendReservationsAfterOrderPlacementPlugin.php on line 132

This is something of a major issue for us, we have had several customers now go through and attempt to place the order 4+ times as the checkout displays an error saying the order could not be processed - however as the actual error is on the "afterPlace" function, the order has been placed and the customer charged. Resulting in the duplicated orders having to be refunded.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.3.5-p1Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions