通用应用程序的计划和定价?
我需要在我的网站上添加计划和定价模式,以向用户收取使用某些功能的费用。在这种情况下,用户
将通知
添加到点
。
用户
不应添加超出其计划
允许数量的通知
。诸如此类的事情。
快速的谷歌搜索让我没有什么可看的(django 定价和计划是糟糕的搜索词),所以我正在考虑推出我自己的解决方案,但也许你知道一些感兴趣的东西。
我不太喜欢定价模式的工作方式或如何处理定价,但这不在问题的范围内。
I'm in need of adding a plans and pricing schema to my website to charge a user for the use of certain feature. In this case, the User
adds Notices
to Points
.
A User
should not be able to add more Notices
than his' Plan
allows. Stuff like that.
A quick google round gave me nothing to look around (django pricing and plans are terrible search terms) so i was thinking in rolling my own solution but may be you know of something of interest.
I'm not very sold to the way the pricing schema would work or how to handle the pricing, but that's not in the scope of the question.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我们正在积极开发可能的解决方案:
https://github.com/cypreess/django-plans
两者都带有 https://github.com/cypreess/django-getpaid (这是一种付款经纪人)他们可以解决各种问题:计划、定价、配额(限制)、发票、税收、付款。
getpaid 有一个稳定的版本,计划仍在开发中,但目前它是 100% 可用的(我个人正在使用它)。
两者都有非常好的文档,可以在阅读文档时找到。
我希望这对你有帮助。
We are actively developing a possible solution:
https://github.com/cypreess/django-plans
both with the https://github.com/cypreess/django-getpaid (which is a payment broker) they can solve all kind of problems with: plans, pricing, quotas (limits), invoicing, taxation, payments.
getpaid has a stable version, plans are still in development, but it is 100% usable at this point (I am using it personally).
Both have a pretty good documentation, that could be found on read the docs.
I hope that would help you.
您可以尝试寻找配额系统。您的需求可能与您的应用程序紧密集成,因此从头开始实施解决方案可能是正确的方法。
我看到这可能不太符合您的需要,但可能会给您一些想法: https://github .com/mpasternacki/django-quotas
You might try looking around for quota systems. Your needs will probably be pretty tightly integrated with your application, so implementing a solution from the ground up is likely to be the right way to do it.
I see this which probably isn't quite what you need, but might give you some ideas: https://github.com/mpasternacki/django-quotas
对于您的问题,这可能不是一个合适的答案。但我对此进行了很多研究,但没有找到合适的解决方案。我偶然发现了 django-plans 但甚至这些示例都不再起作用了。他们最后一次提交是在一年前。但他们确实存在几个月前的问题。
我认为,因为这对于国家法律来说是非常具体的事情,最终你会达到图书馆不支持你想做的事情的地步。也就是说,我会开发自己的。这就是我现在正在做的事情。
This might not be a decent answer for your question. But I dug a lot into this without finding a decent solution. I've stumbled upon django-plans but not even the examples work anymore. And their last commit was a year ago. But they do have issues that are months old.
I think since it's a very specific thing to countries' laws and eventually you will get to a point where the lib doesn't support what you wanna do. That said, I would develop my own. That's what I am doing now.