Changeset 2137441
- Timestamp:
- 08/10/2019 02:25:27 PM (7 years ago)
- Location:
- pluginpass-pro-plugintheme-licensing/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (7 diffs)
-
constants.php (modified) (1 diff)
-
inc/admin/class-pluginpass-table.php (modified) (1 diff)
-
inc/common/class-pluginpass-guard.php (modified) (4 diffs)
-
pluginpass.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pluginpass-pro-plugintheme-licensing/trunk/README.txt
r2137166 r2137441 1 === PluginPass - WordPress PRO Plugin/Theme Licensing ===1 === PluginPass - WordPress PRO Plugin/Theme Licensing (Public Alpha) === 2 2 Author URI: https://netlicensing.io 3 3 Plugin URI: https://github.com/Labs64/PluginPass 4 4 Contributors: labs64 5 Donate link: https:// netlicensing.io6 Tags: API, license, licens e key, activation, validation, digital-downloads, purchase-validator, monetization, licensing, license-management, LaaS, Licensing-as-a-Service, NetLicensing5 Donate link: https://www.paypal.me/labs64 6 Tags: API, license, licensing, activation, validation, license key, monetization, license-management, NetLicensing 7 7 Requires at least: 4.9.7 8 8 Tested up to: 5.2.2 9 9 Requires PHP: 5.6 10 Stable tag: 0.9. 110 Stable tag: 0.9.2 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 == Description == 17 17 18 *Public Alpha* 19 20 PluginPass is a WordPress License Manager that makes it easy to control the use and monetize your WordPress plugins and themes. 18 PluginPass is a *WordPress License Manager* that makes it easy to control the use and monetize your WordPress plugins and themes. 21 19 22 20 The Plugin is designed to be easy-to-use, which you easily define as a dependency to your plugin or theme, so this takes care of the plugin’s & theme’s features activation and validation. … … 30 28 * Use plugin or theme on the given domain only 31 29 * License as many plugins/themes as you want 32 * Need more features? - Let us know30 * Need more features? - [Let us know](https://github.com/Labs64/PluginPass/issues) 33 31 34 32 = Payment gateways = 35 33 36 Payment gateways supported in the core, freeplugin:34 Payment gateways supported in the plugin: 37 35 38 36 * PayPal Standard 39 37 * Stripe 40 41 Payment gateways supported in the premium version:42 43 38 * Braintree - *PLANNED* 44 39 * Authorize.net - *PLANNED* 45 40 * 2Checkout - *PLANNED* 46 41 * SOFORT Banking - *PLANNED* 47 * BitPay - *PLANNED* 48 * Coinbase - *PLANNED* 42 43 = Quickstart = 44 45 Add this code-snippet to your plugin: 46 47 ` 48 $quard = new \PluginPass\Inc\Common\PluginPass_Guard( $api_key, $product_number, $plugin_name ); 49 if ($quard->validate( $product_module_number )) { 50 // do something 51 $quard->open_shop(); 52 } 53 ` 54 55 Detailed integration instructions, NetLicensing product configuration tips and troubleshooting can be found on plugin's [Wiki page](https://github.com/Labs64/PluginPass/wiki). 49 56 50 57 == Installation == … … 72 79 == Upgrade Notice == 73 80 74 _TODO_ 81 Follow standard Wordpress plugin update process. 75 82 76 83 == Frequently Asked Questions == … … 104 111 Yes, you can! Join in on our [GitHub repository](https://github.com/Labs64/PluginPass) :) You can also leave us a nice review on the WordPress site to let others know what you think of the plugin! 105 112 106 == Privacy Policy ==113 == Privacy Policy & GDPR == 107 114 108 115 This plugin integrating components of an external service - [Labs64 NetLicensing](https://netlicensing.io "Software License Management") (processor). Labs64 NetLicensing is an online license management service provider. License validation requests are processed using plugin or theme developer (controller) NetLicensing account. … … 114 121 Radlkoferstr. 2 115 122 81373 Munich, Germany 116 Labs64 NetLicensing website: [ https://netlicensing.io](https://netlicensing.io)123 Labs64 NetLicensing website: [NetLicensing.IO](https://netlicensing.io) 117 124 118 The applicable data protection provisions of Labs64 NetLicensing may be retrieved under [https://www.labs64.com/legal/privacy-policy/](https://www.labs64.com/legal/privacy-policy/). 125 The applicable data protection provisions of Labs64 NetLicensing may be retrieved under Labs64 [Privacy Policy](https://www.labs64.com/legal/privacy-policy/). 126 127 We strongly encourage you to comply with WordPress [Plugin Guidelines](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/) and General Data Protection Regulation (GDPR) while developing your plugins and themes and interfacing with [Labs64 NetLicensing Services](https://netlicensing.io). 128 129 For more details on Labs64 NetLicensing data protection provisions visit Labs64 [Privacy Center](https://www.labs64.de/confluence/x/vQEKAQ). 119 130 120 131 == Screenshots == … … 124 135 == Changelog == 125 136 137 = 0.9.2 = 138 * Update: Plugin documentation 139 * Fix: PluginPass_Guard PHP reference error #8 140 126 141 = 0.9.1 = 127 * *TODO* 128 * New: new feature added 129 * Fix: bug fixed 130 * Tweak: improved functionality 142 * Fix: plugin publish script #6 143 * Fix: Plugin activation error #1 144 * Update: Deleted dependency "selvinortiz/dot" #5 131 145 132 146 = 0.9.0 = -
pluginpass-pro-plugintheme-licensing/trunk/constants.php
r2137166 r2137441 8 8 define( __NAMESPACE__ . '\NS', __NAMESPACE__ . '\\' ); 9 9 10 define( NS . 'PLUGIN_VERSION', '0.9. 1' );10 define( NS . 'PLUGIN_VERSION', '0.9.2' ); 11 11 12 12 define( NS . 'PLUGIN_NAME', 'pluginpass' ); -
pluginpass-pro-plugintheme-licensing/trunk/inc/admin/class-pluginpass-table.php
r2137166 r2137441 469 469 ], [ 'ID' => $plugin_id ] ); 470 470 471 $this->show_notice( __( 'Plugin shave been validated', $this->plugin_text_domain ), 'success', true );471 $this->show_notice( __( 'Plugin(-s) have been validated', $this->plugin_text_domain ), 'success', true ); 472 472 } catch ( Exception $exception ) { 473 473 $this->show_notice( $exception->getMessage(), 'error', true ); -
pluginpass-pro-plugintheme-licensing/trunk/inc/common/class-pluginpass-guard.php
r2137166 r2137441 39 39 $ttl = $result->getTtl(); 40 40 $expires_at = $ttl->format( \DateTime::ATOM ); 41 $validation = json_encode( $result->getValidations() );41 $validation_result = json_encode( $result->getValidations() ); 42 42 43 43 $data = [ … … 46 46 'api_key' => $api_key, 47 47 'expires_at' => $expires_at, 48 'validation' => $validation ,48 'validation' => $validation_result, 49 49 ]; 50 50 … … 69 69 } 70 70 71 $product_module = reset( explode( '.', $feature ) ); 71 $feature_parsed = explode( '.', $feature ); 72 $product_module = reset( $feature_parsed); 72 73 $licensingModel = PluginPass_Dot::get( $this->plugin->validation, "$product_module.licensingModel" ); 73 74 … … 117 118 $attrsString = implode( " ", $attrsMap ); 118 119 119 echo "<a href='$shopUrl' $attrsString >$title</a>";120 echo "<a href='$shopUrl' $attrsString target='_blank'>$title</a>"; 120 121 } 121 122 -
pluginpass-pro-plugintheme-licensing/trunk/pluginpass.php
r2137166 r2137441 16 16 * Plugin URI: https://github.com/Labs64/PluginPass 17 17 * Description: WordPress Plugin/Theme Licensing powered by Labs64 NetLicensing 18 * Version: 0.9. 118 * Version: 0.9.2 19 19 * Author: Labs64 20 20 * Author URI: https://netlicensing.io
Note: See TracChangeset
for help on using the changeset viewer.