October 14, 2020, 7:45am
Hey guys, I’m new to developing and recently made a homestore. When I published it, the players were telling me that they couldn’t buy any of the clothes so I went on an alt account to try it for myself and I was clicking the buy button for shirts and pants but the roblox purchase gui wasn’t coming up.
I used a model with the script included so all I had to do was copy the item id into the certain area so i’m pretty confused about what is going on. I was doing some research and trying different scripts but they all have the same outcome of the purchase gui not coming up.
Here is the code that i’m using:
And here is a link to my game incase you want to see for yourself:
I would really appreciate if someone could please tell me what’s wrong and how to fix it (and if you need any more photos I would be happy to add them). Thank you so much.
I believe this might be the problem.
To fix this, click on workspace, and in the properties search up “AllowThirdPartySales” and enable it.
October 14, 2020, 7:49am
So I just need to allow third party sales?
Porbabaly, in the future, you should open the developer console in game and check if there is any messages present telling you the error.
October 14, 2020, 7:57am
I allowed it and published the new version but I don’t think its working.
anyways, thank you so much for your help!
This is because it will prompt the gamepass with the specific gamepassID.
I’m pretty sure that’s a shirt ID, not a gamepass ID. So your solution won’t work.
October 14, 2020, 8:08am
I just tried it and a gui came up but it said that something went wrong and my account has not been charged.
Sorry, lol I didn’t realise that.
This should be because of thirdPartySales. To enable this go to Home - game settings - Security - Allow Third Party Sales. Make sure this is done in game settings. Here is an example to help:
October 14, 2020, 8:18am
Omg thank you so much!! This actually fixed it!!