You can free [OzzModz] XFRM: Purchasable Resources
2.0.1 Patch Level 2 download the source from the button above
2.0.1 Patch Level 2 download the source from the button above
Adds paid uploads resource type.
Features:
Features:
- Purchasing resources trough XF payment providers
- Tab on resource page with list of purchased users
- ACP resource purchases list & management
- Purchases can be deactivated (to disallow further resource downloads for purchased user)
- Purchase alerts for resource author
Routes
Types
[H1]Routes[/H1]
[H2]resources[/H2]
[H3]GET resources/{id}/purchases/[/H3]
Gets the API list of this resource purchases.
[H2]resource-purchases[/H2]
[H3]GET resource-purchases/[/H3]
Gets the API list of resource purchases.
[H3]DELETE resource-purchases/{id}/[/H3]
Deletes the specified resource purchase.
[H3]POST resource-purchases/{id}/toggle[/H3]
Toggles active state the specified resource purchase.
- resources
- GET resources/{id}/purchases
- resource-purchases
- GET resource-purchases/
- DELETE resource-purchases/{id}/
- POST resource-purchases/{id}/toggle
Types
[H1]Routes[/H1]
[H2]resources[/H2]
[H3]GET resources/{id}/purchases/[/H3]
Gets the API list of this resource purchases.
Inputs | Type | Description |
---|---|---|
page | integer | The page of purchases to include |
Outputs | Type | Description |
---|---|---|
purchases | ResourcePurchase[] | |
pagination | pagination | Pagination details |
[H2]resource-purchases[/H2]
[H3]GET resource-purchases/[/H3]
Gets the API list of resource purchases.
Inputs | Type | Description |
---|---|---|
page | integer | The page of purchases to include |
Outputs | Type | Description |
---|---|---|
pagination | pagination | Pagination details |
purchases | ResourcePurchase[] |
[H3]DELETE resource-purchases/{id}/[/H3]
Deletes the specified resource purchase.
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
success | true |
[H3]POST resource-purchases/{id}/toggle[/H3]
Toggles active state the specified resource purchase.
Inputs | Type | Description |
---|---|---|
None. |
Outputs | Type | Description |
---|---|---|
success | true |