Just been wondering about what transactions are exactly for and how they can be used.
Like, are they only meant to be used to track user payments and stuff through the Blesta system? .... or would it be feasible to get Blesta to control all our system transactions?
For example..... our main system keeps track of all transactions a user does, which are either fees for an action they did or a sale they made and also records transactions for account credits as well.
Our main system also has a outstanding balance record for each user.
Before we thought about using Blesta to keep track of all the transactions we were just going to do something like this:
1. First we check their balance on our main system and see if they owe anything
2. If so, we then check to see if they have any outstanding invoices via blesta and if so we take that amount from their outstanding balance on the main system and then we get the correct amount to invoice them for.
However, IF we can just pass everything to Blesta then Blesta should be able to handle it all itself without our main system having to tell Blesta how much to bill the user for as Blesta should be able to work it out all itself right!?
Btw: When I say "pass" Blesta the info, I mean via the Blesta API.
Question
gutterboy
Just been wondering about what transactions are exactly for and how they can be used.
Like, are they only meant to be used to track user payments and stuff through the Blesta system? .... or would it be feasible to get Blesta to control all our system transactions?
For example..... our main system keeps track of all transactions a user does, which are either fees for an action they did or a sale they made and also records transactions for account credits as well.
Our main system also has a outstanding balance record for each user.
Before we thought about using Blesta to keep track of all the transactions we were just going to do something like this:
1. First we check their balance on our main system and see if they owe anything
2. If so, we then check to see if they have any outstanding invoices via blesta and if so we take that amount from their outstanding balance on the main system and then we get the correct amount to invoice them for.
However, IF we can just pass everything to Blesta then Blesta should be able to handle it all itself without our main system having to tell Blesta how much to bill the user for as Blesta should be able to work it out all itself right!?
Btw: When I say "pass" Blesta the info, I mean via the Blesta API.
Cheers!
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.