Inventory not deducted when running payment plan
Found in
EPiServer.Commerce 10.6.0
Fixed in
EPiServer.Commerce 10.7.3
Created
May 16, 2017
Updated
Jun 23, 2017
State
Closed, Fixed and tested
Description
Steps to reproduce:
- Go to Commerce Manager.
- Create a payment plan (daily cycle) with variant A. Do not add a payment yet.
- Update the server time to the next day.
- 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.