[WooCommerce] 8. Testing Scheduled Orders
Note: Until you have activated your Online Merchant Account, no recurring Autoship Orders will be processed. However, you can still test the functionality of creating Scheduled Orders.
Testing an Autoship Checkout: Scheduled Order Created from Checkout
- As a customer, visit your online store and visit a product page.
- Select a frequency for the product (for example: Every 2 Months).
- With a selected frequency, add the product to the cart.
- Add as many products as you like (including as many different frequencies and types as you wish!) to your cart and complete checkout using a test credit card number.
- After the initial checkout, Autoship Cloud will create a Scheduled Order for each selected frequency.
- As the same customer, visit My Account > Scheduled Orders, where you can add / remove / change quantity of items, alter the date of the next occurrence of the schedule, and change the frequency for each Scheduled Order.
- As the WordPress Admin, visit WP-Admin > Autoship Cloud > Scheduled Orders where you can view a list of all Scheduled Orders that have been created so far.
Testing Automated Scheduled Order Processing: WooCommerce Order Created from Scheduled Order
As the admin, you can quickly test the automated processing of Scheduled Orders.
Note: you should do this with your own Scheduled Order after completing the testing steps 1-7 (above)
- Edit the Scheduled Order you wish to test (WP-Admin > Autoship Cloud > Scheduled Orders > Edit)
- Ensure that the status of the Scheduled Order is "Active"
- Set the Next Occurrence Date to a past date (for example: yesterday's date)
- Within 5-10 minutes, Autoship Cloud's engine will attempt to process the Scheduled Order
If the Scheduled Order processed successfully, you will see a new WooCommerce Order created and the Scheduled Order will have a new Next Occurrence Date.
If the Scheduled Order processing failed, you will see that status for the Scheduled Order "Failed".
Select the "info" icon displayed on the Scheduled Order to see why the Scheduled Order failed.
More articles on testing Autoship Cloud can be found here: Testing Autoship Cloud
Test Failed/Paused Scheduled Order Processing
As the admin, you can quickly test how to retry the processing of Scheduled Orders with the status of Failed or Paused.
Note: you should do this with your own Scheduled Order after completing the testing steps 1-7 (above)
- Locate the failed or paused Scheduled Order you wish to retry (WP-Admin > Autoship Cloud > Scheduled Orders)
- For a failed or paused Scheduled Order, you will see additional actions:
- Activate: this action will set the Scheduled Order status back to "Active"
- Process Now: this action will immediately attempt to process the "Paused" Scheduled Order
- Restart Processing: this action will immediately retry processing the "Failed" Scheduled Order by starting a new processing cycle.
- Continue Processing: this action will immediately continue processing the "Failed" Scheduled Order without starting a new processing cycle.
If the Scheduled Order processed successfully, you will see a new WooCommerce Order created and the Scheduled Order will have a new Next Occurrence Date.
If the Scheduled Order processing failed, you will see that status for the Scheduled Order "Failed". Select the "info" icon displayed on the Scheduled Order to see why the Scheduled Order failed.
More articles on testing Autoship Cloud can be found here: Testing Autoship Cloud