solidusio / solidusio/solidus_subscriptions

Not having to sign up for subscription

Open
#269 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

If I make a variant subscribable, the subscription fields must be filled in ( I want x items, ever x day, week, month).

To 95% users will not subscribe. They will leave "I want x items" and "every x day" empty. They simply wish to make a one time purchase of the product.

If we leave number of items and frequency EMPTY, an exception is thrown

Validation failed: Quantity is not a number, Interval length is not a number

Or if we enter "0" for items and frequency we get -

Validation failed: Quantity must be greater than 0, Interval length must be greater than 0

How can we allow one-time purchases on subscribable products.

Much like Amazon where you can pick either between making a one-time purchase or subscribe.

Thank you!

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

No files, tests, or entry points are named in the issue. Start by reproducing the validation failure for a subscribable product with empty quantity and interval fields, then trace the subscription validation and purchase flow. Done means a subscribable product can be purchased once without subscription fields while subscription purchases still require valid positive values.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend, payments
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.