tolfix / cpg-api Goto Github PK
View Code? Open in Web Editor NEWCentral Payment Gateway
Home Page: http://demo.cpg.tolfix.com/graphql
License: MIT License
Central Payment Gateway
Home Page: http://demo.cpg.tolfix.com/graphql
License: MIT License
Add event listeners to various events.
One example could be an invoice has been paid, then emit the event. Then someone listing (like plugins) can take it and trigger something, for perhaps handle the product etc.
Add password reset
Add subscriptions for paypal/stripe.
Add more logs
Which auth method to pick.
Perhaps create a website for documentation.
Orders/Invoices creates/reminds every 14 days, perhaps should make it dynamic and make admin's choice or make it default at 30 days.
Add rate limit to express.
Add right status codes.
Use ts-node instead of regular node. To use paths
in tsconfig.json.
Turn this repository to a monorepo, and rename to cpg
.
Make it possible to pick payment methods allowed to be picked.
Right now there is no protection on the mutations nor queries, need to make specific ones protected.
Currently the code is kinda hard coded to Swedish and English on some parts, need to fix a translation for more dynamic.
Invoice wont save when it sent is email, perhaps timeouts from database?
Needs further investigation.
Make reports to admins.
When creating new invoices, the due_date for invoice becomes 2 months, instead of 1 from invoice_date. This is generated in src/Cron/Orders.cron.ts
Possible to add webhooks when different events happens.
Right now the emails are looking a bit bad. Could use more styles with css to make them look better.
Add crypto payments.
Make it possible to authenticate with walletconnect.
Query sorting & searching
Turn most environment variables into the database.
The current plugin handler could be improved, perhaps could add the direct path of the build, to access files easier that has been exported?
Use postgres on version 3 of the API.
Add stripe to CPG.
No filters queries added.
Want to avoid DRY, thus turning CPG OOP a bit more with classes with standard methods.
When a order is created it should be possible to send email to customer that an order has been created.
Accept payment through steam, like tf2 keys, csgo skins etc.
Make better error handlings
Will make it simplier by doing CRUD by using controllers and remove caching and always be in touch with our database.
Add paypal
Using paypal-sdk to add the system.
Thinking about creating a unique URL when a order is created if payment_method
is paypal
, and when the user goes to the URL it will redirect to paypals payment, and once paid to a success page saying it went well etc.
Make it possible to add plugins.
Either by adding it manually here in src, or by adding it via NPM.
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.