megamsys / verticegateway

REST API server with built in auth, interface to ScyllaDB/Cassandra
https://www.megam.io
MIT License
24 stars 34 forks source link

Fixed new billings api #568

Closed rajthilakmca closed 7 years ago

rajthilakmca commented 7 years ago

Added one more column in "balances" table, review 1.5.1.cql file ALTER TABLE balances ADD biller_credit text;

following cases are tested

  1. Credit the amount into user account
  2. Order quota with unpaid status
  3. Update quota to paid status using paypal
  4. Update quota to paid status using offlinecc
  5. Invoice paid for billable items using paypal
  6. Invoice paid for billable items using offlinecc
  7. Reduce estimated credit amount