[XFA] RM Marketplace/Shop - XF2

[XFA] RM Marketplace/Shop - XF2 5.3.0

No permission to buy (€60.00)
Corrected bugs:
  • Users can’t purchase new digital products when "Redirect users to renew when they own a renewable license" option is active
  • Users can’t purchase a new license for themselves or for a friend when "Redirect users to renew when they own a renewable license" option is active
  • Purchase child resource menu appears in resource’s header despite the lack of child resource
  • TypeError: XF::asVisitor(): Argument #1 ($user) must be of type XF\Entity\User, null given, called in /home/thkw8765/public_html/src/addons/XFA/RMMarketplace/XFRM/Entity/ResourceItem.php on line 117 src/XF.php:608
  • Error: Call to undefined method XF\Mvc\Reply\Redirect::getParam() src/addons/XFA/RMMarketplace/XFRM/Pub/Controller/Category.php:24

We have had low reports, we consider 5.3.0 to be stable now.
  • Like
Reactions: GameNet
Corrected bugs:
  • Wrong permission check in edit sale page for other payment means acceptation
  • Missing serial key format field in edit sale page
  • Download button not visible for purchasers when a product sale has been disabled
  • Custom payment payment processing purchase form not inline with the XF payment method purchase form

Modifications:
  • Renamed license key generation to serial key generation
  • Prefixed all database tables with xf_ to meet XenForo Resources standard
  • Default discounts list to latest created desc
  • Removed user personal info input from digital product manual purchase forms
  • Added purchase validation form on license renewal in custom payment processing mode

New features:
  • Permission to activate automatic serial key generation
  • Parent/Child resources to limit resources purchase to parent resource purchasers (useful for DLC)
  • Option to force redirect to license renewal when clicking on purchase button if user owns a renewable license
  • Coupon system

This version is a release candidate, it has been tested but bugs may remain. Use with precautions on a production site.
  • Love
Reactions: GameNet
Corrected bugs:
  • Argument 1 passed to XF\Mvc\Entity\Entity::addCascadedSave() must be an instance of XF\Mvc\Entity\Entity, null given, called in src/addons/XFA/RMMarketplace/Pub/controller/Dashboard.php on line 86
Corrected bugs:
  • Call to a member function getCommunicationDataFromType() on null - src/addons/XFA/RMMarketplace/Service/Purchase/Notify.php:79

New features:
  • Automatic license key generation capability, activated through an option and configurable per resource
Corrected bugs:
  • ErrorException: Job XFA\RMMarketplaceDiscountsApplier: [E_WARNING] Attempt to read property "type" on null src/addons/XFA/RMMarketplace/Job/DiscountsApplier.php:36
  • Error: Call to a member function fastUpdate() on null src/addons/XFA/RMMarketplace/Job/DiscountsApplier.php:100
  • ErrorException: [E_NOTICE] Undefined variable: resourceIds src/addons/XFA/RMMarketplace/Job/DiscountsApplier.php:79
  • Error: Call to a member function getCommunicationDataFromType() on null - src/addons/XFA/RMMarketplace/Service/Purchase/Notify.php:72
  • Resources prices reset after upgrade

For those who upgraded to the latest version and experienced the last bug, I am very sorry for that.
You need to revert back the prices from before the upgrade manually (if you didn't see it and already reset back to your pre-install database backup).
I sincerely apologized for that.
  • Like
Reactions: DaveL and GameNet
I said I would release this before the year end, and here it it is, the long awaited 5.1.0 version, introducing some new features and in particular the Discount creation capability. I hope you will enjoy this new version and I wish all of you an happy new year 2023 !

Corrected bugs:
  • ErrorException: [E_WARNING] Attempt to read property "shipping" on null src/addons/XFA/RMMarketplace/Pub/View/Invoice.php:129
  • Free not displayed in grid view when resource price is 0.00
  • Filter on user's license page redirects to forum index
  • Free resources filter not working properly
  • Error initialising PayPal communication error when seller has bypass percentage on sale permission
  • ErrorException: [E_WARNING] Undefined variable $providers in src/addons/XFA/RMMarketplace/Pub/Controller/Dashboard.php at line 392
  • Can’t add free shipping row in physical resources
  • Fixed incorrect your purchases link in resources subnavigation

Modifications:
  • Add license button moved below dashboard tabs
  • Changed grid item display layout to accommodate with discount display
  • Added invoices date in invoices list
  • Some dashboard tabs renamed
  • Dashboard home tab removed - Index default to Stats or Sales or Licenses depending on permissions
  • Terms and conditions/Invoicing dashboard tabs merged into a Configuration tab
  • Option to configure the number of days after which unpaid purchases are automatically pruned (instead of 1 day fixed)
  • Modified permissions interface groups

New features:
  • Discount creation capability
  • Capability to manually validate an unpaid purchase
  • Capability to add license from resource page through resource menu
  • Warning message in purchase form when user owns an expired license asking if he would like to renew instead
  • Option in digital products to disallow renewal of license after expiration
  • Time period filter added in purchases list
  • Sales log export to .xlsx or .csv from dashboard sales page
  • Optional automatic blocking of user sales X days after monthly percentage on sale invoice generation if unpaid (xF payment profile solution)
  • Capability to disable/enable sale of a resource
  • Added new supported xF payment profiles: Mollie, BTCPay
  • Permission based capability for the seller to select which communication means to use (email/conversation) upon purchase/refund
  • Permission based capability for the seller to customise the title/message sent upon purchase/refund from dashboard configuration tab
  • New status filter (unpaid, validated, refunded) in dashboard view sales page
  • Like
Reactions: GameNet
Hello,

As I am working since some time on the next release of RM Marketplace, I thought it was interesting to let you know what I am working on.

Along with some bug fixes, the next release of the add-on will come with new features.
Here is what is implemented so far:
  • Capability to add license from resource page through resource menu
  • Option in digital products to disallow renewal of license after expiration
  • Time period filter added in purchases list
  • Sales log export to .xlsx or .csv from dashboard sales page

On-going is long awaited Discounts feature:
Capture d’écran 2022-11-06 à 16.47.30.webp

Capture d’écran 2022-11-06 à 16.47.35.webp

And I'll also maybe add Coupons, either in this release or the next one.

Enjoy !
Clément
  • Love
  • Like
Reactions: DaveL and GameNet
Corrected bugs:
  • ErrorException: Template error: [E_WARNING] Attempt to read property "group_id" on null src/addons/XFA/RMMarketplace/Listener.php:175
Corrected bugs
  • ErrorException: Template error: [E_WARNING] Attempt to read property "xfa_rmmp_type" on null src/addons/XFA/RMMarketplace/XF/Entity/Thread.php:79
  • ErrorException: Template error: [E_WARNING] Undefined variable $resource src/addons/XFA/RMMarketplace/XF/Entity/Thread.php:79
  • Shipping amount displayed in sales list even when null
  • User address required in PayPal payment profile for Digital products
Corrected bugs
  • Payment providers option description incorrect in admincp (data is encrypted)
  • XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'shipping' in 'field list' in src/XF/Db/AbstractStatement.php at line 228
  • For Paypal XF payment profiles only require address if product is of physical type

Coinbase Commerce Integration payment profile is now supported following our Core add-on 1.11.1 release.
Top Bottom