You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-us/reference/engine/classes/MarketplaceService.yaml
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1167,7 +1167,7 @@ events:
1167
1167
summary: |
1168
1168
Fires when a purchase prompt for a developer product is closed. Do not use this event to process purchases.
1169
1169
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.
1171
1171
1172
1172
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.
1173
1173
@@ -1285,8 +1285,8 @@ callbacks:
1285
1285
summary: |
1286
1286
A callback to process receipts of developer product purchases.
1287
1287
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
+
1290
1290
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.
1291
1291
1292
1292
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:
1345
1345
transaction.
1346
1346
- `CurrencyType` — The type of currency spent in the purchase;
1347
1347
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.
0 commit comments