Difference between revisions of "Transaction result"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 13: Line 13:
! {{LSLGC|Transfer|llTransfer*}} Function
! {{LSLGC|Transfer|llTransfer*}} Function
----
----
''{{LSL Param|data}}'' CSV Contents
{{LSLPT|data}} CSV Contents
! Error Tag (Returned from data)
! Error Tag (Returned from data)
! Error Tag Description
! Error Tag Description
{{!}}-
{{!}}-
{{!}} rowspan=10 {{!}} {{HoverLink|key|key that matches id of transaction_result event}} [[llTransferLindenDollars]]( [[key]] {{LSL Param|llTransferLindenDollars_destination|destination}}, [[integer]] {{LSL Param|llTransferLindenDollars_amount|amount}} )
{{!}} rowspan=11 {{!}} {{HoverLink|key|key that matches id of transaction_result event}} [[llTransferLindenDollars]]( [[key]] {{LSLP|llTransferLindenDollars_destination|destination}}, [[integer]] {{LSLP|llTransferLindenDollars_amount|amount}} )
----
----
[ [[key]] {{LSL Param|llTransferLindenDollars_destination|destination}}, [[integer]] {{LSL Param|llTransferLindenDollars_amount|amount}} ]
[ [[key]] {{LSLP|llTransferLindenDollars_destination|destination}}, [[integer]] {{LSLP|llTransferLindenDollars_amount|amount}} ]
{{!}} LINDENDOLLAR_INSUFFICIENTFUNDS
{{!}} LINDENDOLLAR_INSUFFICIENTFUNDS
{{!}} The source agent does not have enough L$ for the transfer
{{!}} The source agent does not have enough L$ for the transfer
Line 79: Line 79:
|also_articles
|also_articles
|also_footer
|also_footer
|notes=* released 3-Dec-2011
|history=* Released 3-Dec-2011
|mode
|mode
|deprecated
|deprecated

Revision as of 12:53, 8 June 2012

Description

Event: transaction_result( key id, integer success, string data ){ ; }

Triggered when task receives asynchronous data

• key id matches the return of the llTransfer* function
• integer success TRUE if the transfer succeeded otherwise FALSE.
• string data On successful transactions this will contain a CSV of information pertaining to the transaction. In failure, a string will be returned matching one of the error tags below.
llTransfer* Function

data CSV Contents

Error Tag (Returned from data) Error Tag Description
key llTransferLindenDollarskey destination, integer amount )

key destination, integer amount ]

LINDENDOLLAR_INSUFFICIENTFUNDS The source agent does not have enough L$ for the transfer
LINDENDOLLAR_ENTITYDOESNOTEXIST The destination UUID is not a valid agent.
LINDENDOLLAR_BADCLOCKSKEW There is bad clock skew between the sim host and the L$ service
INVALID_AGENT Destination agent is not a valid UUID
INVALID_AMOUNT Amount is <= 0
THROTTLED The scripted L$ throttle was hit for this object owner.
MISSING_PERMISSION_DEBIT The script does not have debit permission
GROUP_OWNED The object is group owned and thus can't give money
TRANSFERS_DISABLED L$ transfers are disabled in the region
EXPIRED The simulator timed out waiting for a response from the back-end service.
SERVICE_ERROR There was an error connecting to the back-end service

Examples

Deep Notes

History

  • Released 3-Dec-2011

Signature

event void transaction_result( key id, integer success, string data );