Adds paid uploads resource type.
Features :
Routes
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.
[OzzModz] XFRM: Purchasable Resources for XenForo 2.2+ Update 2.0.1 Patch Level 1
2.0.1:
mega.nz
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
- resources
- GET resources/{id}/purchases
- resource-purchases
- GET resource-purchases/
- DELETE resource-purchases/{id}/
- POST resource-purchases/{id}/toggle
[H1]Routes[/H1]
[H2]resources[/H2]
[H3]GET resources/{id}/purchases/[/H3]
Gets the API list of this resource purchases.
page | integer | The page of purchases to include |
purchases | ResourcePurchase[] | |
pagination | pagination | Pagination details |
[H2]resource-purchases[/H2]
[H3]GET resource-purchases/[/H3]
Gets the API list of resource purchases.
page | integer | The page of purchases to include |
pagination | pagination | Pagination details |
purchases | ResourcePurchase[] |
[H3]DELETE resource-purchases/{id}/[/H3]
Deletes the specified resource purchase.
None. |
success | true |
[H3]POST resource-purchases/{id}/toggle[/H3]
Toggles active state the specified resource purchase.
None. |
success | true |
[OzzModz] XFRM: Purchasable Resources for XenForo 2.2+ Update 2.0.1 Patch Level 1
2.0.1:
- Added resource purchase statistics handler
- Added ability to add manually purchased users (from ACP)
- Added admin permission to view purchases and add purchased users manually
- Fix: invalid API scope check
- Fix: missing alert out-put phrase
- Added resource purchase statistics handler
- Added ability to add manually purchased users (from ACP)
- Added admin permission to view purchases and add purchased users manually
- Added option to disable "Download resources" permission check for purchased resources
- Fix: invalid API scope check
- Fix: missing alert out-put phrase
mega.nz