[WooCommerce] Testing Checkout and Scheduled Orders
Testing WooCommerce checkout with Autoship Cloud enabled
- Visit your WooCommerce store as a new customer and complete a checkout with 1 or more products scheduled for a future order to the cart.
- Confirm that products added to the cart with an Autoship option selected still have their selected frequency attached after being added to the cart
- Recommended: you can also add one-time purchases to your cart as well to confirm that only products scheduled for future orders are added to Scheduled Orders
- Complete a checkout as a new customer and confirm the following during checkout:
- "Guest checkout" is not an available option when products scheduled for future orders are in the cart
- Payment methods that are not setup for Autoship Cloud are not an available option when products scheduled for future orders are in the cart
- See Payment Integrations to see if you are using a supported payment integration and WooCommerce plugin
- After the initial checkout is complete, Autoship will create a Scheduled Order for each selected frequency added to products scheduled for future orders.
- 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.
Test Scheduled Order Processing
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-5 (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".
Click the "info" icon displayed on the Scheduled Order to see why the Scheduled Order failed.
Test Failed/Paused Scheduled Order Processing
As the admin, you can quickly test and 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-5 (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"
- Continue Processing: this action will immediately continue processing the Scheduled Order by updating the current processing cycle and attempting to complete the Autoship Order in WooCommerce.
- Restart Processing: this action will immediately retry processing the Scheduled Order by starting a new processing cycle and attempting to create a new Autoship Order in WooCommerce.
If the Scheduled Order processed successfully, you will see a new WooCommerce Order created and the Scheduled Order's status will be Active and display 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 from the Scheduled Order's options menu to see why the Scheduled Order failed.