What's new at ShopWired?
Subscription billing skip logic with free trial support
A new skip logic feature has been implemented for the Subscriptions app that works alongside the existing subscription billing day setting. This feature ensures that when a customer subscribes close to the designated billing day (within a configurable number of "skip logic days"), they are not charged immediately for the initial subscription order. Instead, the system uses Stripe's free trial mechanism to delay the first charge until the billing day.
Key details of this feature include:
- A new “Skip logic days” setting has been added to the Subscriptions app, allowing users to specify a number of days (up to 27) before the billing day during which initial payments are deferred using free trial days
- The system calculates the number of free trial days based on the difference between the subscription start date (order date) and the next scheduled billing day, taking into account months with fewer days
- While the initial order is always created in ShopWired (as required for system consistency), the first payment is skipped by setting the free trial in Stripe. Customers will be charged on the next billing day
- Orders created during the free trial are assigned the
Unpaid orders
default order status - A new twig variable
order.subscription_payment_skipped
is available to identify orders created during the free trial period - The payment details section on orders that have not been charged (due to skip logic) now displays a clear notice informing users that no payment was collected because the subscription was created within the configured skip logic days, with a link to learn more
- Optionally, two new settings have been added (defaulted to off) to allow automatic refunds for free trial subscription orders and to prevent stock deduction for these orders
- The order timeline has been updated to show “Order created through ShopWired Payments” (omitting “and paid through”) for free trial orders
- This implementation is compatible with ShopWired Payments and Stripe subscriptions; offline/manual subscriptions are not affected by the skip logic setting
- Users can distinguish free trial orders via the order status and notice, improving clarity and reporting
This change ensures subscribers are not billed twice within a short period and aligns subscription billing with flexible business requirements regarding trial periods.