Jump to content
Jules1979

How can I send money with website

Recommended Posts

Hello Everybody,

Can you help me, how can I create this script?

Steps

1. Read username from website URL
llHttpRequest -> the username is in "body" (working)

2. username -> uuid for llGiveMoney (maybe with Name2Key)
I can't send the username to my Name2Key url, because the username in http response "body" is not global variant (maybe).
If it will working -> http response -> id

3. Send 1 linden dollar for this user
llGiveMoney(id,amount)

Who has any idea to create this? The e-mail communication is slow.

Share this post


Link to post
Share on other sites

Why use username and not the avatar UUID? Or do you want to use https://my.secondlife.com/XXXXXXX  and do not have the key stored in an external db?

else the just (pseudocode):

dataserver( key queryid, string data )
key keyID (key)data;
string strUserName= llGetUsername( keyID );
// Process transaction... based on keyID and strUserName

  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...