Try our conversational search powered by Generative AI!

Inventory not deducted when running payment plan

Found in

EPiServer.Commerce 10.6.0

Fixed in

EPiServer.Commerce 10.7.3

(Or a related package)

Created

May 16, 2017

Updated

Jun 23, 2017

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. Go to Commerce Manager.
  2. Create a payment plan (daily cycle) with variant A. Do not add a payment yet.
  3. Update the server time to the next day.
  4. Go to CMS/Admin/Subscription Payment Plans and run the scheduled job.

Expected: One of these 2 actions should occur:

  • Cannot create the order because there is no payment.
  • A new order is created, and the inventory amount of variant A is reduced.

Actual:
A new order is created from the payment plan, and the inventory amount of variant A is NOT deducted.