*

Tango

  • ****
  • 214 posts
Payment Logs Bottlenecks the Hosting
« on: October 20, 2021, 03:43:02 PM »
At the moment, the Osclass Pay Payment Plugin has a fundamental design issue, and that is the fact that the entire plugin was built for single user/Admin access/usage.

As stated in one of my previous topics, since Osclass v4.2.0 we have the Moderator extra access feature (we use a more complex plugin for this), that allows multiple users (moderators) to access different parts of the plugins.

One of the major problems we're having, is with the Payment Logs section, that when accessed it loads the last 5000 payment logs.
Now imagine you have 10 employees that have access to this section and they all want to check it at the same time.
The script will struggle to load all 5000 logs for each user, killing the web server resources (most Osclass installs are on shared hosting).

A simple fix would be to remove the 5000 logs limit, and add ajax loading on page viewpoint/scroll in batches of 100 (or more maybe - on larger 4k displays).
So when you access the Payment Logs, you instantly see the last 100 logs and if you scroll, it loads another 100 and so on (like you're doing with this plugin).

Or if this is too hard to implement, then maybe some pagination would be better for this section.

Also, if you ever start doing this overhaul, it would be great if we could get a v4.0 release, that also adds the Item Orders/Logs Search and the Separation/Collapsing of plugins sections, that will finally turn this plugin into an eCommerce powerhouse.
Sadly at this point, Osclass Pay can be used only by the admin and only for digital ecommerce (selling digital goods) and classifieds promos, but nothing too complex like physical goods, customer support for orders, efficient accounting etc.

Thanks!
« Last Edit: October 20, 2021, 04:05:05 PM by Tango »

*

MB Themes

Re: Payment Logs Bottlenecks the Hosting
« Reply #1 on: October 20, 2021, 04:15:09 PM »
It is on track, update may come soon
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots