silverapp / silver Goto Github PK
View Code? Open in Web Editor NEWAutomated billing and payments for Django with a REST API
Home Page: https://www.presslabs.com/code/silver/
License: Other
Automated billing and payments for Django with a REST API
Home Page: https://www.presslabs.com/code/silver/
License: Other
This could be an action and should work on multiple selected subscriptions.
GET /plans?disabled=false
does not return the plans that have enabled=true
. Moreover, we should be consistent with the naming and use enabled=true/false
for the queries.
The difference between the two: https://docs.djangoproject.com/en/1.6/ref/models/fields/#floatfield-vs-decimalfield
The difference between using the decimal
module and the float
datatype (important): https://docs.python.org/2/library/decimal.html#module-decimal
This will make the usage of HyperlinkedModelSerializer easier as DRF will be capable of deducing the default url
field. Right now DRF can't do that as it looks for a url with the name {model_name}-detail
and we have silver_api:{model_name}-detail.
This can happen for sure in the Admin Panel. Haven't tested the API yet.
Instead of r'^subscriptions/?$'
you can use just r'^subscriptions/$'
.
Creating Plans with Metered Features / AddOn Features doesn't currently work because writable nested serializers are not yet implemented in DRF. We need to find a workaround to this problem.
https://github.com/PressLabs/silver/wiki/Resources#invoice
https://github.com/PressLabs/silver/wiki/Resources#invoice-entry
https://github.com/PressLabs/silver/wiki/Invoices
For details check the link: https://github.com/PressLabs/silver/wiki/Invoices
And also add a Subscription.on_trial
property.
This happens because start_date
and end_date
are not editable but are required.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.