generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Will this properly return the receiptInfo?

Previous Thread :: Next Thread 
Snowmino is not online. Snowmino
Joined: 30 Jul 2013
Total Posts: 3868
28 Feb 2014 05:54 PM
local MarketplaceService = Game:GetService("MarketplaceService")

MarketplaceService.ProcessReceipt = function(receiptInfo)
script.OnPurchase:Fire(receiptInfo)
return Enum.ProductPurchaseDecision.PurchaseGranted
end

There is a BindableEvent named "OnPurchase" within the script.
Report Abuse
Snowmino is not online. Snowmino
Joined: 30 Jul 2013
Total Posts: 3868
28 Feb 2014 08:48 PM
It'd be nice if I could get an answer before I go about attempting this.
Report Abuse
Devoi is not online. Devoi
Joined: 09 Jun 2013
Total Posts: 5387
28 Feb 2014 09:07 PM
Use this. It only uses one main object.
http://www.roblox.com/Forum/ShowPost.aspx?PostID=126982230
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image