Alpha1
Well-known member
Could you please tell me a little more about how the purchasable Items system works? As you know I am not a developer, but am interested in the possibilities and limitations. I would love to have functions where my members are presented with a BUY button to purchase single functions & actions.The system is split up into several distinct parts.
There's the payment provider system which is what provides the ability to pay for items using any of the built in providers, e.g. PayPal, Stripe and the provider system is extensible so other developers can add other providers (see this resource for an example).
Then there's the purchasable item system which is the system that the user upgrades stuff is built upon.
The two systems are entirely separate, so theoretically you don't really need to know how the payment provider system works to create new purchasable items.
In lieu of the documentation, which we will work on at some point in the future, I recommend looking into how the user upgrade system works for guidance on how to create new purchasable items.
If you have any questions after this post, please post in the XenForo development discussions forum as this thread isn't the appropriate place for that kind of support.
For example after posting a thread have a BUY button to sticky the thread. Or similarly have a BUY button to post in a forum.
Such singular functionality seems very different from Account Upgrades. What are the things that can and cant be done with this? What is the general gist of extending it? I would be very interested to read anything you could share about this, because this is one of the main attractions of XenForo 2 for me and its not yet clear to me what the practical possibilities are.