My game passes are turning into developer products, with different prices

  1. What do you want to achieve?
    I want to fix this issue, where my gamepass is turning into a whole different developer product.

  2. What is the issue?
    The issue is, I put my gamepass ID, in the gamepass ID, for the button, but when I click the button, the same gamepass pops up as a “Product” with a different price to it.
    image
    image

  3. What solutions have you tried so far?
    If tried, searching for different gamepass ID’s, etc, but found nothing.

The code for this button script is:

local Resources = require(game:GetService("ReplicatedStorage"):WaitForChild("Resources"))
local PseudoInstance = Resources:LoadLibrary("PseudoInstance")
local Enumeration = Resources:LoadLibrary("Enumeration")
local Color = Resources:LoadLibrary("Color")
local player = game.Players.LocalPlayer
local ownsGamepass = game.MarketplaceService:UserOwnsGamePassAsync(player.UserId, 10913200)

local BuyRblxBC = PseudoInstance.new("RippleButton")
BuyRblxBC.Size = script.Parent.Size
BuyRblxBC.Position = script.Parent.Position
BuyRblxBC.PrimaryColor3 = Color.Teal[500]
BuyRblxBC.BorderRadius = 4
BuyRblxBC.Style = "Contained"
BuyRblxBC.Text = script.Parent.Text
BuyRblxBC.Parent = script.Parent.Parent

if ownsGamepass then
	script.Parent.Visible = false
end

BuyRblxBC.OnPressed:Connect(function()
	game.MarketplaceService:PromptGamePassPurchase(player, 10913200)
end)
1 Like

Ok well most likely it’s a virus inside your game could we see your plug-in’s?

Also it’s not recommended to use “:LoadLibrary” anymore you are encouraged to make your own Libraries now

Edit: Check if “Allow Third Party Sales” is disabled if its on then turn it off and try

Yes! That worked! Thank you so much!