Dev products not working? (ProcessReceipt doesnt do anything) [**NOT**-SOLVED]
Asked by
5 years ago Edited 5 years ago
I legit copy and pasted from the roblox website (and watched tuts) but it doesnt work and i have no clue whats wrong!
script (in server side)
01 | local MarketplaceService = game:GetService( "MarketplaceService" ) |
03 | local function processReceipt(receiptInfo) |
05 | local player = game:GetService( "Players" ):GetPlayerByUserId(receiptInfo.PlayerId) |
07 | return Enum.ProductPurchaseDecision.NotProcessedYet |
10 | print (receiptInfo.PlayerId .. " just bought " .. receiptInfo.ProductId) |
12 | return Enum.ProductPurchaseDecision.PurchaseGranted |
15 | MarketplaceService.ProcessReceipt = processReceipt |
local script:
1 | script.Parent.SkipLevelsFrame [ "skip 1" ] .MouseButton 1 Down:Connect( function (promptpurchase) |
3 | MarketplaceService:PromptProductPurchase(game.Players.LocalPlayer, skip 1 id) |
when ppl purchase it "skip 1" is printed but the print(receiptInfo.PlayerId .. " just bought " .. receiptInfo.ProductId)
never gets printed? any help will be taken!!
(im probs just doing something dumn tho but cant see it)
the only type of "error" im getting is:
20:09:15.711 - DataStore request was added to queue. If request queue fills, further requests will be dropped. Try sending fewer requests.Key = player_1058817329_product_0000000