solidusio / solidusio/solidus_subscriptions

Add option to skip some items on a subscription

Open
#270 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
49
Forks
53
Avg merge
4h 54m
Merged PRs (30d)
1

Description

There are some use cases where, on a subscription, users may need to skip the delivery of some items. This may happen e.g., when a subscription contains items consumed with different frequencies, causing some to stockpile.

Adding an option to skip some items from the next shipment would solve this problem.

For additional context, one possible way to solve this at the moment is by updating the actionable_date on the SubscriptionLineItem model. Then, when processing the subscription, one would only charge the user for the items whose actionable date is equal to or before the current date.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the SubscriptionLineItem model and the subscription-processing path, focusing on how actionable_date controls which items are charged. Clarify the intended user-facing option and its behavior for the next shipment; the work is done when selected items can be skipped without being charged and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.