Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subscription type like monthly? #8

Open
azu opened this issue Feb 28, 2021 · 9 comments · May be fixed by #44
Open

Add subscription type like monthly? #8

azu opened this issue Feb 28, 2021 · 9 comments · May be fixed by #44
Labels
Status: Proposal Request for comments

Comments

@azu
Copy link
Owner

azu commented Feb 28, 2021

How to record monthly donation?

@azu
Copy link
Owner Author

azu commented Mar 1, 2021

Google App Scripts Integration?

Images

  • User who use subscription type can install helper GAS script
  • GAS script use ClockTriggerBuilder and create new record from subscription item.

Require

  • Implement GAS script
  • Update scope
    scope: [
    "https://www.googleapis.com/auth/drive.file", // require to create and edit sheet
    "openid", // id_token
    "profile" // aviator, default name, default id
    ],
    and privacy policy

@azu azu added the Status: Proposal Request for comments label Mar 8, 2021
@azu
Copy link
Owner Author

azu commented Mar 10, 2021

Should subscription items be another sheet?
For example, the "Subscription" sheet.

I concern about how to stop subscriptions.

@azu azu pinned this issue Mar 10, 2021
@azu
Copy link
Owner Author

azu commented Mar 10, 2021

@kishikawakatsumi
Copy link

It would be great to support for recurring donations.
But meantime, it would be nice adding a small feature to duplicate existing records.

If so, we can easily add our recurring donations by simply duplicating last month's records and just changing the date.

@azu azu mentioned this issue Mar 11, 2021
1 task
@azu
Copy link
Owner Author

azu commented Mar 11, 2021

If so, we can easily add our recurring donations by simply duplicating last month's records and just changing the date.

Ah, It's reasonable.
I've created it as a new issue.
#19

@azu
Copy link
Owner Author

azu commented Mar 11, 2021

I've implemented the clone feature in #20

Mar-11-2021.23-10-54.mp4

@azu
Copy link
Owner Author

azu commented Apr 8, 2021

Data Table image:

 [StartDate, EndDate, Every?, to, URL, amount, why?]

We need to define Every? format.
What format is suitable?

Probably, this lifecycle is バラバラ.

  • 毎月 n 日
  • nヶ月ごと
  • n 日ごと

決済日はいつですか – Syncable

毎月1日が決済日となっています。

About billing for GitHub Sponsors - GitHub Docs
next billing date is different by user

よくある質問 | GiveOne

継続寄付は、お申し込み時点では決済されません。お申込みされてから直近の決済日(毎月10日、土日祝日にあたる場合は翌営業日)に決済されます。カード会社によって締め日・引き落とし日が違うので一概には言えませんが、決済日の翌月か翌々月にお引き落としがあります。

Probably, We would not need to get closing date strictly.

  • every x year (create new record at XXXX-{StartDate's month}-01)
  • every x month (create new record at XXXX-MM-{StartDate's day})
  • every x days (create new record at XXXX-MM-DD)

is even enough?

@azu azu linked a pull request May 12, 2021 that will close this issue
2 tasks
@azu
Copy link
Owner Author

azu commented Jul 23, 2021

@azu
Copy link
Owner Author

azu commented Jul 23, 2021

Different approach:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Proposal Request for comments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants