[OzzModz] XFRM: Purchasable Resources

[OzzModz] XFRM: Purchasable Resources 2.0.1 Patch Level 2

No permission to buy ($25.00)
Compatible XF 2.x versions
  1. 2.2
License
Single Use License (may be used on one website)
Updates duration
Lifetime for Xenforo versions listed above
Visible branding
No
Adds paid uploads resource type.

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

Types

[H1]Routes[/H1]

[H2]resources[/H2]

[H3]GET resources/{id}/purchases/[/H3]

Gets the API list of this resource purchases.

InputsTypeDescription
pageintegerThe page of purchases to include


OutputsTypeDescription
purchasesResourcePurchase[]
paginationpaginationPagination details


[H2]resource-purchases[/H2]

[H3]GET resource-purchases/[/H3]

Gets the API list of resource purchases.

InputsTypeDescription
pageintegerThe page of purchases to include


OutputsTypeDescription
paginationpaginationPagination details
purchasesResourcePurchase[]



[H3]DELETE resource-purchases/{id}/[/H3]

Deletes the specified resource purchase.

InputsTypeDescription
None.


OutputsTypeDescription
successtrue


[H3]POST resource-purchases/{id}/toggle[/H3]

Toggles active state the specified resource purchase.

InputsTypeDescription
None.


OutputsTypeDescription
successtrue

pres1.webp


pres2.webp


pres3.webp


pres4.webp


pres5.webp


pres6.webp


pres7.webp


pres8.webp
  • Like
Reactions: M@rc and XDinc
Author
Ozzy47
Views
3,568
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Ozzy47

Latest updates

  1. [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...
Top Bottom