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

Make plan reset at the payment date not each months #134

Closed
riderx opened this issue Nov 30, 2022 · 10 comments
Closed

Make plan reset at the payment date not each months #134

riderx opened this issue Nov 30, 2022 · 10 comments

Comments

@riderx
Copy link
Contributor

riderx commented Nov 30, 2022

Describe the bug/issue

@riderx
Copy link
Contributor Author

riderx commented Aug 9, 2023

/bounty $0

@rishi-raj-jain
Copy link
Contributor

rishi-raj-jain commented Aug 9, 2023

/attempt #134
Hey @riderx, Can you elaborate the issue and give me some direction?

Options

@riderx
Copy link
Contributor Author

riderx commented Aug 9, 2023

Yes, currently when user subscribes the 9 august. His statistics will reset every 1 of the month.
While the payment reset the 9, so user don't undertsand why this happen.

Currently, the reset is done in one function for all users.
So this function should now run every day instead of every month.
Plus, the stats in the frontend should display from the billing date.
And all postgres function for user stats have to be updated as well to support billing date

@tobihans
Copy link

tobihans commented Aug 9, 2023

/attempt #134

Options

@algora-pbc
Copy link

algora-pbc bot commented Aug 14, 2023

Note: The user @tobihans is already attempting to complete issue #134 and claim the bounty. If you attempt to complete the same issue, there is a chance that @tobihans will complete the issue first, and be awarded the bounty. We recommend discussing with @tobihans and potentially collaborating on the same solution versus creating an alternate solution.

@rishi-raj-jain
Copy link
Contributor

@riderx Can you give me some direction the current payment flow in the code?

@tobihans
Copy link

@rishi-raj-jain I'm working on this.

@rishi-raj-jain
Copy link
Contributor

Thanks, I'm dropping this one off.

@riderx
Copy link
Contributor Author

riderx commented Aug 28, 2023

i'm closing the bounty since this is a part of the refactor i do for stats

@rishi-raj-jain
Copy link
Contributor

Hey @riderx,

can you close this one on Algora as well?

@Cap-go Cap-go deleted a comment from algora-pbc bot Sep 13, 2023
@riderx riderx closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants