Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Web Shop

Mose Salomon
Registered User
Join date: 10 Jan 2007
Posts: 6
05-22-2007 03:41
Hallo,

i want to build an Online Shop, so what i need is an Bankomat, which i could use to take payments from avatars. For instance, one avatar has an account at my homepage, he/she comes into second life, pay some money to my bankomat and the money will be transfered to my server (which does not run SL), and then i save that money to my database. The avatar than get that money on his/her account on my homepage (the same thing like Second Life Boutique works), and than he/she can buy somthing.

I dont know theoreticly how should that work.

How does it work to pay some cash to some bankomat, and how does that bankomat identify that avatar?
When someone buy somthing, how it will be sent to him?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-22-2007 04:28
From: Mose Salomon
Hallo,

i want to build an Online Shop, so what i need is an Bankomat, which i could use to take payments from avatars. For instance, one avatar has an account at my homepage, he/she comes into second life, pay some money to my bankomat and the money will be transfered to my server (which does not run SL), and then i save that money to my database. The avatar than get that money on his/her account on my homepage (the same thing like Second Life Boutique works), and than he/she can buy somthing.

I dont know theoreticly how should that work.

How does it work to pay some cash to some bankomat, and how does that bankomat identify that avatar?
When someone buy somthing, how it will be sent to him?


The basic's would be something like the following :-

Create Avatar Account
This will require the avatars name and their Key.
It could probably be better done from in world rather than on the web site. The act of paying money into the Bankomat would in effect set up the account and credit it at the same time (see below).

In World
Avatar pays some money to the Bankomat
The Bankomat would then contact the database and update it with the Avatar's name, Key and amount paid. The database could check for the existance of the Avatar, create a new entry if it doesnt exist, and then credit the account accordingly.
The database could then reply with the current balance so that the Avatar knows something happened.

On Web Site
Avatar buy's something.
(Assumes they have enough credit etc)
The database would contact an inworld server (possibly the Bankomat?) passing it the avatar's key and the name/id of the item bought. The vendor would then llGiveInventory the item.
The vendor would then re contact the database to say it had sent the item so that the database could debit the account.
_____________________
I'm back......
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
05-22-2007 04:47
Not sure about the last point. When I get an item I have bought on slexchange it is given to me by Exchange Street, but the item is actually in the inventory of the seller's slexchange box, so I would expect the seller's box to give me the item.

Perhaps I get the im from Exchange Street and the item from the seller's box?

Or would the seller's box advise the item's UUID and that is used by Exchange Street?

Need to look at this more carefully next time I buy something from slexchange.
Kenn Nilsson
AeonVox
Join date: 24 May 2005
Posts: 897
05-22-2007 07:26
From: ed44 Gupte
Not sure about the last point. When I get an item I have bought on slexchange it is given to me by Exchange Street, but the item is actually in the inventory of the seller's slexchange box, so I would expect the seller's box to give me the item.

Perhaps I get the im from Exchange Street and the item from the seller's box?

Or would the seller's box advise the item's UUID and that is used by Exchange Street?

Need to look at this more carefully next time I buy something from slexchange.


You get the item from the seller's box and the IM from Exchange Street. Additionally, Exchange Street keeps all monies that are deposited into the SLEx accounts.
_____________________
--AeonVox--

Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms chasing ghosts, eating magic pills, and listening to repetitive, addictive, electronic music.
Mose Salomon
Registered User
Join date: 10 Jan 2007
Posts: 6
05-25-2007 01:43
How i am going to connect to second life from my web server? Is there an api for thing like that?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-25-2007 03:02
From: Mose Salomon
How i am going to connect to second life from my web server? Is there an api for thing like that?


Take a good long look at the wikki especially Take a good long look at the HTTP and XML RPC entries.
_____________________
I'm back......
Mose Salomon
Registered User
Join date: 10 Jan 2007
Posts: 6
05-25-2007 03:08
Yes i know that, but this is a communication from second life to server, and not "from server to second life". I mean i can send data to server and then get an response. But what hapend if the third parity user what to buy somthing on my website, and than i have to send him some notes in second life. How will this notes be sent to him from server to second life?
Andy Enfield
Hippo Technologies CEO
Join date: 22 Nov 2005
Posts: 79
05-25-2007 04:21
XMLRPC is *in* to Second Life. You can also use external email into SL, triggering the email() event in LSL.