[WooCommerce] Testing Checkout and Scheduled Orders

Testing WooCommerce checkout with Autoship Cloud enabled

  1. 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.
    1. Confirm that products added to the cart with an Autoship option selected still have their selected frequency attached after being added to the cart
    2. 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
  2. Complete a checkout as a new customer and confirm the following during checkout:
    1. "Guest checkout" is not an available option when products scheduled for future orders are in the cart
    2. Payment methods that are not setup for Autoship Cloud are not an available option when products scheduled for future orders are in the cart
      1. See Payment Integrations to see if you are using a supported payment integration and WooCommerce plugin
  3. After the initial checkout is complete, Autoship will create a Scheduled Order for each selected frequency added to products scheduled for future orders.
  4. 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.
  5. 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)

  1. Edit the Scheduled Order you wish to test (WP-Admin > Autoship Cloud > Scheduled Orders > Edit)
  2. Ensure that the status of the Scheduled Order is "Active"
  3. Set the Next Occurrence Date to a past date (for example: yesterday's date)
  4. 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).

  1. Locate the failed or paused Scheduled Order you wish to retry (WP-Admin > Autoship Cloud > Scheduled Orders)
  2. For a failed or paused Scheduled Order, you will see additional actions:
    1. Activate: this action will set the Scheduled Order status back to "Active"
    2. 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.
    3. 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.