AutoShip DailyRun and Retry Rules

Initiating the AutoShip DailyRun

As a part of first launching your system and setting up AutoShips, you need to submit a request to Customer Care (via support@directscale.com) to turn on the AutoShip DailyRun. This starts a daily process that runs AutoShips at whatever time you specify. Most will choose a low-impact time like 3 AM each day.

Developing AutoShip Logic and Retry Rules

Your in-house or third-party developer should develop any specific AutoShip logic and AutoShip retry rules. If for any reason, an AutoShip should fail, you’ll need to have rules in place, so the system knows how to handle it.

Using the ShouldRetryAutoshipOrder Hook, a developer can set the AutoShip retry rules based on your requirements.

Hook name: DirectScale.Disco.Extension.Hooks.Autoships.ShouldRetryAutoshipOrder

This Hook looks at all orders attached to an AutoShip that haven’t been paid for:

  • Because they’re using some delayed payment
  • Or, The payment method had insufficient funds
  • Etc.

Many companies will have different rules regarding this. For example, try it every other day for three tries, then try one more time on the month’s last day.

These rules can be revised at any time by your developer.

View more AutoShip-related Hooks in the Developer Documentation

Was this article helpful?
0 out of 0 found this helpful
Previous Next

Comments

0 comments

Please sign in to leave a comment.