Custom IAP

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
JustAnyone
Developer
Reactions:
Posts: 3474
Joined: 23 Jul 2017, 12:45
Location: Easter Island
Plugins: Showcase Store

Platform

Custom IAP

#1

Post by JustAnyone »

it indeed is possible and it works (DSA plugin pack)

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: TheoTown Forum Chatbox

#2

Post by Lobby »

You have to incorporate "event" and "buyable":true

Code: Select all

{
  "id":"$feature_my_very_own_package00",
  "type":"feature",
  "frames":[{"x":256,"y":576,"w":256,"h":128,"offset x":3072,"target w":128,"target h":64}],
  "price diamonds":90,
  "event":"feature_my_very_own_package00",
  "buyable":true
}
"event" must be something unique that will be used to identify and save the purchase (only works with Facebook as Google Games doesn't support unknown ids).

Add this to a plugin that should require the feature above :json

Code: Select all

"requirements":[
  {"type":"FEATURE", "id":"$feature_my_very_own_package00"}
],

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

event

#3

Post by CommanderABab »

Moved this discussion here as it deals with plugins.

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”