ReceiptType¶
ReceiptType is used to work with server-sided receipt processing.
Not implemented in Nova
This enum is missing from Nova. Scripts that reference it will fail.
Description¶
ReceiptType works with MarketplaceService.BindReceiptHandler() to
indicate the different type of receipts a developer can bind to for
processing. When you call
BindReceiptHandler, you pass a
ReceiptType to specify which kind of receipt your handler should process.
DeveloperProduct is used for developer product purchases and provides a
BindReceiptHandler-based alternative to the legacy
ProcessReceipt callback.
RobuxTransferSender and RobuxTransferReceiver are used for Robux
transfers, described below.
For Robux transfers initiated with
PromptRobuxTransferAsync,
two receipts are generated: one for the sender (RobuxTransferSender) and one
for the receiver (RobuxTransferReceiver). You should register handlers for
both types to fully process a transfer.
Transfer receipts are delivered to whichever server the user is currently in once the transfer settles (the user does not need to rejoin). If the user is offline when the transfer settles, the receipt is delivered the next time they join a server. See BindReceiptHandler for details.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
DeveloperProduct |
0 | Not yet | Used for processing receipts from developer product purchases made with PromptProductPurchase. The receipt includes ProductId, `CurrencyTyp… |
RobuxTransferSender |
1 | Not yet | Used for processing receipts for the user who initiated a Robux transfer. The receipt's PlayerId is the sender's user ID and includes a TransferRequestId field. Delivered immediately if the trans… |
RobuxTransferReceiver |
2 | Not yet | Used for processing receipts for the user who received Robux via a transfer. The receipt's PlayerId is the receiver's user ID and includes a TransferRequestId field. Delivered to the server the r… |
Roblox reference: ReceiptType