View previous topic :: View next topic |
Author |
Message |
asddsa
Joined: 16 Apr 2008 Posts: 7
|
Posted: Fri May 02, 2008 5:58 am Post subject: FirstSpot integration with payment systems |
|
|
I am thinking about integration of FirstSpot billing with payment system so that users could pay for hotspot services through terminals. XML queries over HTTP are used during transaction.
....................................................SQL queries
[FirstSpot]<>[MySQL or MS SQL] <====> [Transaction server]
................................................................. | XML over HTTP
.................................................................[Payment system]
i.e. transaction server works directly with database.
Is the above scenario right? |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri May 02, 2008 7:24 am Post subject: |
|
|
Please check out chapter 7 -> User Defined Payment section of firstspot_guide.pdf for a guideline. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
asddsa
Joined: 16 Apr 2008 Posts: 7
|
Posted: Wed May 07, 2008 2:31 pm Post subject: |
|
|
In User Defined Payment section the process flow is as follows:
1. Payment system web-interface
2. Enter credit card data
3. Money added to user balance
But in my case the flow will be:
1. User adds money through payment terminal, not web-interface.
Payment must be based on unique ID for each registered user.
2. Transaction registered in payment system database.
3. After information about transaction transferred to our local transaction
server as XML query.
4. Balance of user with particular ID updated in database with SQL code. |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Thu May 08, 2008 4:19 am Post subject: |
|
|
Sorry, my mistake. In that case, you don't need to use the credit card "User Defined Payment" option.
And yes, you need to update table fsusr directly (refer to chapter 5 of firstspot_guide.pdf for more informaiton). One thing to remind you is that you should update the user attributes when he is offline (check the "reserved1" field, again see firstspot_guide.pdf). _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
Powered by phpBB © 2001, 2005 phpBB Group
| |