Skip to content

Commit 977557e

Browse files
update Open Source Docs from Roblox internal teams
1 parent fd7287f commit 977557e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

content/en-us/reference/engine/classes/MarketplaceService.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ events:
11671167
summary: |
11681168
Fires when a purchase prompt for a developer product is closed. Do not use this event to process purchases.
11691169
description: |
1170-
##### Do not use the `PromptProductPurchaseFinished` event to process purchases; instead, use the `Class.MarketplaceService.ProcessReceipt|ProcessReceipt` callback. The firing of `PromptProductPurchaseFinished` does NOT mean that a user has successfully purchased an item.
1170+
**IMPORTANT:** Do **not** use the `PromptProductPurchaseFinished` event to process purchases; instead, use the `Class.MarketplaceService.ProcessReceipt|ProcessReceipt` callback. The firing of `PromptProductPurchaseFinished` does **not** mean that a user has successfully purchased an item.
11711171
11721172
This event fires when a purchase prompt for a [developer product](../../../production/monetization/developer-products.md) closes. For example, when a user receives the purchase prompt and clicks **Cancel**, or when they receive a success or error message and click **OK**. The firing of this event does **not** mean that a user has successfully purchased an item.
11731173
@@ -1285,8 +1285,8 @@ callbacks:
12851285
summary: |
12861286
A callback to process receipts of developer product purchases.
12871287
description: |
1288-
##### We **highly recommend** that you properly implement the `ProcessReceipt` callback in order to sell your developer products. You should use `ProcessReceipt` to grant users their purchased product over any other granting method. If your `ProcessReceipt` implementation isn't correct, you will NOT be able to grant users the products they have purchased on the Experience Detail page.
1289-
1288+
**IMPORTANT:** We **highly recommend** that you properly implement the `ProcessReceipt` callback in order to sell your developer products. You should use `ProcessReceipt` to grant users their purchased product over any other granting method. If your `ProcessReceipt` implementation isn't correct, you will **not** be able to grant users the products they have purchased on the Experience Detail page.
1289+
12901290
A callback to process receipts from [developer product](../../../production/monetization/developer-products.md) purchases. You can sell developer products inside an experience using `MarketplaceService` functions, or outside an experience on the Experience Detail page.
12911291
12921292
You should only set the `ProcessReceipt` callback one time in a single server-side `Class.Script|Script`. This callback must handle the receipts for all developer products you have for sale.
@@ -1345,12 +1345,6 @@ callbacks:
13451345
transaction.
13461346
- `CurrencyType` — The type of currency spent in the purchase;
13471347
always `Enum.CurrencyType.Robux`.
1348-
- `ProductPurchaseChannel` — An enum that represents how the user acquired the developer product.
1349-
1350-
- `InExperience`: The purchase was made inside of an experience.
1351-
- `ExperienceDetailsPage`: The purchase was made outside of an experience, on the Experience Details page.
1352-
- `AdReward`: The product was rewarded to the user when they watched a video ad to completion.
1353-
- `CommerceProduct`: The user acquired the product as a benefit of purchasing a commerce merchandise from the developer of the experience.
13541348
returns:
13551349
- type: ProductPurchaseDecision
13561350
summary: |

0 commit comments

Comments
 (0)