[XFA] RM Marketplace/Shop - XF2

[XFA] RM Marketplace/Shop - XF2 5.0.1

No permission to buy (€60.00)
Corrected bugs:
  • ErrorException: Template error: [E_USER_WARNING] Cannot call method isForSaleInMarketplace on a non-object (NULL) src/XF/Template/Templater.php:1176
  • Additional info data input displayed for other product types than physical
This new version is a major feature changes release which contains an extensive set of improvements and in particular the implementation of a new payment mode based on xF payment profiles (either admin/user configured).

We would like to thank frybread for funding the development of this new feature.

It was extensively tested but we recommend you to first test this new version on a development environment before going live. And don't forget to backup your files and database prior to performing the upgrade.

Detailed changelog is provided here below.

Corrected bugs
  • Default image incorrectly displayed when in grid layout mode when friendly urls option is activated
  • Incorrect grid view box layout with stars not fitting on a single line

  • Put buy and download buttons in a group when both are displayed
  • Permissions split into two categories: standard permissions/moderator permissions
  • Rewording of some permissions text

New features
  • Revamped options page with tabs sorting
  • Revamped purchase confirm form
  • Featuring durations/featuring purchases links changed in admincp
  • Price added next to duration on admincp featuring purchases page
  • Capability to purchase a digital product for a friend (permission based)
  • Seller/Buyer/Valid licenses postbit indicators in resources discussion threads (style properties based)
  • New permissions
    • Bypass percentage on sale permission
    • Maximum number of items on sale
  • Configurable automatically displayed prefixes in resources list to identify digital products/services/physical products/Out of stock physical products
  • Invoice preview button in Invoicing Dashboard page
  • New payment handling mode based on xF payment profiles
    • Payment profiles either based on admin ones or user front-end side configurable ones
    • Supported methods:
      • Back-end configured methods: Any
      • Front-end configured methods: Paypal, Braintree, Stripe, 2checkout (Get in contact with us for more payment methods addition)
    • Monthly invoices generation for percentage on sales payment by users based on effective sales
    • Email/alerts sent on invoice generation/payment/refund
    • User front-end side payment profiles configuration from dashboard
    • User front-end side payment profiles configuration encrypted into database
    • Your invoices page on front-end side
    • Invoices list page on back-end
    • Send reminder from invoices list for unpaid invoice
  • Simple shipping costs handling
    • Input location/cost when editing resource
    • Shipping cost automatically added to item price upon purchase
Dear customers,

As you might have seen, we have significantly increased the price of our RM Marketplace add-on which is now available at 60€, with a renewal price of 30€.

Why are you increasing the price ?

The reason behind this price increase is the upcoming 5.0.0 version, with a BETA version to be expected hopefully before the end of the year.
This new version will bring a wider sales audience capability thanks to the compatibility with XenForo payment profiles support both for back-end (admincp) configured payment profiles (global and category based payment configuration) as well as front-end, in addition to the existing custom made Paypal payment feature.

Front-end compatibility of XenForo payment profiles was introduced thanks to the implementation of secured (crypted) storage of the user front-end configured data into the database to safely provide your users with these new payment capabilities.

For the back-end payment profiles configuration/selection, any XenForo payment profiles will be supported.
For the front-end payment profiles configuration/selection, the following XenForo payment profiles will be supported: Paypal, Braintree, Stripe, 2checkout. More available upon request.

Will I still be able to collect percentage on sales if I switch to this new payment processing mode ?

Percentage on sale is a key feature of our add-on as it is aimed at providing monetization for your forum, and thus ROI (Return On Interest).
So we obviously couldn't remove that feature from that mode and implemented it in a different way. Instead of being retrieved upon each purchase, the percentage on sales amounts are logged and summed over the month before being requested from the sellers through automatically generated invoices every month.

Are you also bringing other features ?

Of course we are !
Right now, in addition to the payment profiles support, we have performed the following enhancements to the product:
  • Revamped options page with tabs sorting
  • Revamped purchase confirm form
And we won't stop there, we also intend to add the capability to purchase for a friend (i.e. another member).
We will most certainly add few others features along the way, the complete list is not yet freezed.

Don't hesitate to give us your feedbacks as well as point out the features you really would wish to see coming to the product.

Stay tuned !
The Xen-Factory staff


  • Capture d’écran 2021-10-21 à 01.56.03.png
    Capture d’écran 2021-10-21 à 01.56.03.png
    82.5 KB · Views: 31
  • Capture d’écran 2021-10-21 à 01.55.30.png
    Capture d’écran 2021-10-21 à 01.55.30.png
    153.5 KB · Views: 31
  • Capture d’écran 2021-10-21 à 01.55.21.png
    Capture d’écran 2021-10-21 à 01.55.21.png
    35.1 KB · Views: 31
  • Capture d’écran 2021-10-21 à 01.55.02.png
    Capture d’écran 2021-10-21 à 01.55.02.png
    59.8 KB · Views: 31
  • Capture d’écran 2021-10-21 à 01.54.40.png
    Capture d’écran 2021-10-21 à 01.54.40.png
    117.5 KB · Views: 31
Last version was checked and is compatible with xF2.2
Corrected bugs:
  • Error when installing from an old version: XF\Db\InvalidQueryException: xfa_rmmp_transaction: MySQL statement prepare error [1064]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'STATUS('initialized', 'pending', 'completed', 'expired', 'pending_manual') NOT N' at line 2 in src/XF/Db/AbstractStatement.php at line 228
Corrected bugs:
  • Can't edit resource image when display on index is the only option active
Corrected bugs:
  • Purchases through other mean not displayed anymore in the dashboard
  • Quantity not taken into account upon payment processing through paypal
The pdf invoice library has been changed in this version, please follow our manual for installation insrtuctions HERE.

Corrected bugs:
  • TypeError: Argument 3 passed to XFRM\Template\TemplaterSetup::fnResourceIcon() must be an instance of XFRM\Entity\ResourceItem, null given src/addons/XFRM/Template/TemplaterSetup.php:7
  • Renew license button doesn't show before license expires
  • Can't purchase service offer, button shows "UNAVAILABLE - OUT OF STOCK"
  • ErrorException: [E_NOTICE] Undefined variable: error - src/addons/XFA/RMMarketplace/Pub/Controller/Dashboard.php:67
  • Error: Call to undefined method XFA\RMMarketplace\XFRM\Entity\Category::canViewAllSales() src/addons/XFA/RMMarketplace/Entity/Purchase.php:29
  • In alternative mode, the inline mod checkbox is shown above the delete dialog
  • Default image not found in alternative mode display
  • Icons not showing properly in payment means selection

  • Changed PDF invoice library to more recent one compatible with PHP 7.x (check the manual for installation instructions)
  • Display of number of purchases in profile/membercard is now optional

New features:
  • Capability to purchase more than one quantity of an item
  • Alert or/and mail sent to users upon license expiration
  • User licenses list visible to seller in profile
  • Display of number of sales in profile/membercard (optional)
  • Display of total sales amount in profile/membercard (optional)
  • Most purchases member stat
  • Most sales member stat
  • Most sales amount member stat
  • 3 user criteria for trophies and usergroup promotions: purchases, sales and sales amount
Corrected bugs:
  • Users without the permission could see all sales in overall last sales/overall top sales widgets
  • Users with download all permission cant download old versions
  • Purchases tab shown on resource page while user has no right to see purchases log

  • Upload of resource image directly upon resource creation
Corrected bugs:
  • Error with threads not linked to a resource anymore : ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/XFA/RMMarketplace/XF/Entity/Thread.php:35