Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Customer comments...

Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-15-2006 09:20
A comment in the rating thread from SuzanneC Baskerville brought up something that's been an occasional anoyance... the lack of a way to attach a comment to a payment. When I pay by check in the real world there's a space to write a note, like an account number or a description of what you're paying for. It would be really useful if the pay boxes (Buy..., Pay..., and so on) included a little text window for a note to attach to the transaction that'd show up in the transaction log. This could be used to dismbiguate invoices, purchases, and would be pretty easy for LL to implement.

Even better would be if it were scriptable, with something like...
CODE

//Control interface, like llSetPayPrice
llSetPayComment(string comment, integer edit);
llSetBuyComment(string comment, integer edit);
// edit = PAY_HIDE, user is not shown the content.
// edit = PAY_PROTECTED (-3), user is shown the content, but can't edit it.
// edit = PAY_DEFAULT (or any other value), user can edit the content.

//Query interface. It'd be easier on the user to have a money_extended event:
money_extended(key giver, integer amount, string comment)
{
}

//But this might be easier for LL to implement...
key trans_id = llRequestTransactions(key giver, integer amount, integer limit);
// giver = NULL_KEY, all givers
// amount = PAY_DEFAULT, any amount
// limit =0 for current transaction only (only meaningful in money event),
// >0 for # transactions,
// -1 for current day,
// -2 for today or yesterday, ...
// This would allow it to be called usefully from the money() event, or for review

dataserver(key id, string data)
{
list l = llCSV2List(data);
key giver_id = llList2Key(data,0);
string giver_name = llList2String(data, 1);
integer amount = llList2String(data,3);
string object = llList2String(data, 4); // Name of object bought or paid into.
string comment = llList2String(data, 5);
//.. stuff goes here ..
trans_id = llRequestNextTransaction(trans_id);
}
Kamikaze Kelly
Registered User
Join date: 6 Jul 2006
Posts: 3
07-15-2006 20:14
I think the language would benifit more from a dialog box that has a textbox for input. You can do exactly what you ask, but it'll probably add one or two more lines of code. The benifit would be that scripts could accept input other than from the chat box.

This would work exactly the same way as the dialog box. only with a text box for input.

CODE

llInput( key id , string message , integer channel );


EDIT:
did I read the thread at all? note to self, no posts at 4am anymore :p
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-15-2006 20:47
From: Kamikaze Kelly
I think the language would benifit more from a dialog box that has a textbox for input.
That would also be useful, and I'd love to have that capability as well, but wouldn't you at least need to be able to add a "pay" to the dialog box?

Really, this is not about putting text in a dialog box, this is about being able to document the purpose of every transaction, including the ones that don't involve scripts at any point (for example, "Buy..." or "Pay" in Profiles).