Corrected stock statuses and stock expectations.
parent
65cad73765
commit
84d43998d0
|
@ -188,7 +188,7 @@ Screenshot of expected order notes:
|
|||
|
||||
***
|
||||
|
||||
**Test Case #2: Product stock should be increased when the 'Pending Payment' order is set to 'Cancelled'**
|
||||
**Test Case #2: Product stock should not be decreased when the 'Pending Payment' order is set to 'Cancelled'**
|
||||
|
||||
- Create a product and set its stock to 10.
|
||||
- Enable PayPal Standard.
|
||||
|
@ -197,15 +197,14 @@ Screenshot of expected order notes:
|
|||
- At this point, close the window with PayPal. Don't go back to the checkout. An order in `Pending payment` status should be created in WooCommerce.
|
||||
- Navigate to the new `Pending Payment` order in WooCommerce admin.
|
||||
- Change the order status to `Cancelled`.
|
||||
- Product stock should be increased and become 10 again.
|
||||
- Product stock should not decrease and will stay at 10.
|
||||
|
||||
Screenshot of expected order notes regarding stock:
|
||||
|
||||
![](https://user-images.githubusercontent.com/19143190/101995505-46799200-3c98-11eb-8c88-f2ae475ff7d2.jpg)
|
||||
![Screenshot for stock changes](https://d.pr/i/DZRVLR+)
|
||||
|
||||
Please test all order statuses by repeating the steps above:
|
||||
|
||||
- From `Pending Payment` to `Cancelled` - can be tested using PayPal Standard (included with WooCommerce Core).
|
||||
- From `Processing` to `Cancelled` - can be tested using PayPal Standard, Stripe, or any other payment gateway.
|
||||
- From `On hold` to `Cancelled` - can be tested using Bank Transfer (included in WooCommerce Core)
|
||||
- From `Completed` to `Cancelled` (not via refund) - can be tested using PayPal Standard, Stripe, or any other payment gateway.
|
||||
|
|
Loading…
Reference in New Issue