• Resolved Moskva Yigit

    (@moskvayigit)


    First of all, thanks for the plugin but sadly it’s not working as secure as it should be.

    If you have one theme/plugin on one domain, it works fine and good. But… If you have multiple items ( one plugin/one theme ), the current version doesn’t work as it should be. First activation works but it’s populating the “activation” data to the table already, therefor there’s no way to check the second item.

    Workaround was to create different fields for the different items:

    envato_purchase_code__item1
    envato_token__item1
    envato_is_activated__item1

    envato_purchase_code__item2
    envato_token__item2
    envato_is_activated__item2

    For multiple purchase codes on the same website, the system is NOT throwing an error message and allows you to use everything on the same website. For example, you have 5 plugins and 3 themes on your account. I purchased 1 plugin and 3 themes. I can actually activate the theme by using the plugin purchase code as it’s not checking if it’s the same item or not but it’s checking if it’s same domain. I hope you understand what I mean and you could provide some solution.

    In addition you should update json_encode with wp_json_encode for better security.

    • This topic was modified 11 months, 3 weeks ago by Moskva Yigit.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ashraful Sarkar Naiem

    (@ashrafulsarkar)

    As soon as possible I will fix this problem.
    Thank you for reporting this bug.

    Thread Starter Moskva Yigit

    (@moskvayigit)

    Do you mind me to ask how long would it be? A week, a month or longer?

    Should I wait for the update or get it fixed already?

    Thread Starter Moskva Yigit

    (@moskvayigit)

    Solved the problem already. For those who wants to get the issue fixed, they could update the following file with the following code ( replacement )

    includes/API/EnvatoLicenceApiCall.php, line 248:

    if ( $get_license[0]->domain == $requestDomain ) {

    with

    if ( $get_license[0]->domain == $requestDomain && $get_license[0]->purchasecode == $purchaseCode) {
    • This reply was modified 11 months, 3 weeks ago by Moskva Yigit.
    Plugin Author Ashraful Sarkar Naiem

    (@ashrafulsarkar)

    After test this code, I will update soon.

    Thread Starter Moskva Yigit

    (@moskvayigit)

    Missing tables, if you don’t mind to get those updated, too

    includes/Admin/Allusers.php, line: 65

        public function get_columns() {
            $columns = array(
                'username'        => 'Username',
                'itemid'          => 'Item id',
                'purchasecode'    => 'Purchase code',
    			'token'			  => 'Token',
    			'licensetype'	  => 'Licence',
    			'sold_at'		  => 'Sold at',
                'supported_until' => 'Supported until',
                'domain'          => 'Activated domain',
                'action'          => 'Action',
            );
            return $columns;
        }

    includes/Admin/Allusers.php, line: 148

    $query = "SELECT username, itemid, domain, purchasecode, token, licensetype, sold_at, supported_until FROM {$wpdb->prefix}license_envato_userlist";
    Plugin Author Ashraful Sarkar Naiem

    (@ashrafulsarkar)

    These fields do not need to display. Some backend and features use this field, and some will be added to this plugin. For this reason need to store data into database.

    Plugin Author Ashraful Sarkar Naiem

    (@ashrafulsarkar)

    Can you please check, suppose the theme and plugin use the same code then this code may not work. Please check your code.

    Thread Starter Moskva Yigit

    (@moskvayigit)

    I have several purchase code for the items I have sold – shared by the buyers. I tested already, works as expected with the code update.

    Plugin Author Ashraful Sarkar Naiem

    (@ashrafulsarkar)

    Sorry, I can’t update your code. Your code has some errors. As soon as possible I will fix this problem.

    Thanks

    Thread Starter Moskva Yigit

    (@moskvayigit)

    It works fine on my server but it’s fine, I got my problem solved already.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Some bugs found’ is closed to new replies.