I did try to find my answer of ROBLOX Wiki. Nothing showed.
There is actually a specific service for things like this called MarketplaceService.
http://wiki.roblox.com/index.php?title=MarketplaceService
The specific method you want here is PromptPurchase(Player, AssetId)
.
Example code:
local function RequestPurchase(Player, AssetId) game:GetService("MarketplaceService"):PromptPurchase(Player, AssetId) end