Glench / Glench/ExtPay

`unpaid` subscription status undocumented

Open
#223 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
767
Forks
90
PR merge metrics
No merged PRs in 30d

Description

Discussed in https://github.com/Glench/ExtPay/discussions/221

Originally posted by ba32107 July 7, 2024
In dev mode, I can set an unpaid status:
image

This status is not present in the main README or this doc:
https://github.com/Glench/ExtPay/blob/main/docs/how_subscriptions_work.md

It's not really clear what the difference is between past_due and unpaid. The Stripe docs say:

If subscription collection_method=send_invoice it becomes past_due when its invoice is not paid by the due date, and canceled or unpaid if it is still not paid by an additional deadline after that.

From this I can sort of understand the difference, but it's never mentioned anywhere in the ExtPay docs that the subscriptionStatus property mimicks the Stripe API's values. So I think this additional value should be documented in this repo.

Thanks!

Contributor guide

No contributing guide indexed for this repository

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

Read the subscription status documentation in the main README and docs/how_subscriptions_work.md, then compare it with the Stripe subscription status documentation linked in the issue. Document the unpaid status and clarify how it differs from past_due, including that subscriptionStatus uses Stripe API values. Done means both ExtPay documentation locations accurately describe the status values.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation, payments
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.