firebase-authentication
/
admin
/
partials
/
config
/
class-mo-firebase-authentication-admin-licensing-plans.php
class-mo-firebase-authentication-admin-advsettings.php
3 weeks ago
class-mo-firebase-authentication-admin-config.php
3 weeks ago
class-mo-firebase-authentication-admin-licensing-plans.php
3 weeks ago
class-mo-firebase-authentication-admin-loginsettings.php
3 weeks ago
class-mo-firebase-authentication-admin-licensing-plans.php
147 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Firebase Authentication Licensing plans page |
| 4 | * |
| 5 | * @package firebase-authentication |
| 6 | */ |
| 7 | |
| 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | exit; |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * Displays the licensing plans in admin area |
| 14 | */ |
| 15 | class Mo_Firebase_Authentication_Admin_Licensing_Plans { |
| 16 | |
| 17 | /** |
| 18 | * Function to display licensing plans |
| 19 | * |
| 20 | * @return void |
| 21 | */ |
| 22 | public static function mo_firebase_authentication_licensing_plans() { |
| 23 | ?> |
| 24 | <?php |
| 25 | $mo_account_setup_page_url = get_admin_url() . 'admin.php?page=mo_firebase_authentication&tab=account'; |
| 26 | ?> |
| 27 | |
| 28 | <!-- Important JSForms --> |
| 29 | <a id="mobacktoaccountsetup" href="<?php echo esc_url( $mo_account_setup_page_url ); ?>"></a> |
| 30 | <input type="hidden" value="<?php echo esc_attr( mo_firebase_authentication_is_customer_registered() ); ?>" id="mo_customer_registered"> |
| 31 | |
| 32 | <form style="display:none;" id="viewlicensekeys" action="<?php echo esc_url( get_option( 'mo_fb_host_name' ) . '/moas/login' ); ?>" target="_blank" method="post"> |
| 33 | <input type="email" name="username" value="<?php echo esc_attr( get_option( 'mo_firebase_authentication_admin_email' ) ); ?>"/> |
| 34 | <input type="text" name="redirectUrl" value="<?php echo esc_url( get_option( 'mo_fb_host_name' ) . '/moas/viewlicensekeys' ); ?>"/> |
| 35 | </form> |
| 36 | <!-- End Important JSForms --> |
| 37 | <br/> |
| 38 | <h2 style = 'text-align :center'>Our Pricing Plans</h2> |
| 39 | <br/> |
| 40 | <div style=" width: 86%;margin: 0 auto;"> |
| 41 | <div class="row"> |
| 42 | <div class="col-4 moct-align-center"> |
| 43 | <div class="moc-licensing-plan card-body" style="background-color: #ffffff;"> |
| 44 | <div class="moc-licensing-plan-header"> |
| 45 | <div class="moc-licensing-plan-name">Premium</div> |
| 46 | </div><br> |
| 47 | <div class="moc-licensing-plan-price"><sup>$</sup>149<sup>*</sup></div> |
| 48 | <h3><a href="https://plugins.miniorange.com/firebase-woocommerce-integration" target="_blank" style="text-decoration: none;">[WooCommerce Integration]</a></h3> |
| 49 | <!-- <a class="btn btn-block btn-info text-uppercase moc-lp-buy-btn" href="mailto:info@xecurify.com" target="_blank">Contact Us</a> --> |
| 50 | <button class="btn btn-block text-uppercase moc-lp-buy-btn" onclick="upgradeform('wp_oauth_firebase_authentication_premium_plan')">Buy Now</button> |
| 51 | <br> |
| 52 | <div class="moc-licensing-plan-feature-list"> |
| 53 | <ul> |
| 54 | <li>Allow login with Firebase and WordPress <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step1' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 55 | <li>Sync Firebase UID to WordPress <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step2' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 56 | <li>Basic Role Mapping (Set Default Role) <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step2' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 57 | <li>Auto register users in Firebase as well as WordPress <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step3' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 58 | <li>Login & Registration Form Integration (WooCommerce, BuddyPress) <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step4' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 59 | <li>Custom redirect URL after Login and Logout <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step5' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 60 | <li>WP function to retrieve Firebase User JWT <a href='https://developers.miniorange.com/docs/wordpress-firebase/firebase-id-token' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 61 | <li>Hide the change password field on WordPress/WooCommerce account page. <a href='https://developers.miniorange.com/docs/wordpress-firebase/hide-password-field-firebase' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 62 | <li><br/></li> |
| 63 | </ul> |
| 64 | </div> |
| 65 | </div> |
| 66 | </div> |
| 67 | <!-- <div class="col-1 moct-align-center"></div> --> |
| 68 | <div class="col-4 moct-align-center"> |
| 69 | <div class="moc-licensing-plan card-body" style="background-color: #ffffff;"> |
| 70 | <div class="moc-licensing-plan-header"> |
| 71 | <div class="moc-licensing-plan-name">Enterprise</div> |
| 72 | </div><br> |
| 73 | <div class="moc-licensing-plan-price"><sup>$</sup>249<sup>*</sup></div> |
| 74 | <h3><a href="https://plugins.miniorange.com/firebase-social-login-integration-for-wordpress" target="_blank" style="text-decoration: none;">[Firebase Social Login]</a></h3> |
| 75 | <!-- <a class="btn btn-block btn-purple text-uppercase moc-lp-buy-btn" href="mailto:info@xecurify.com" target="_blank">Contact Us</a> --> |
| 76 | <button class="btn btn-block buy_button text-uppercase moc-lp-buy-btn" onclick="upgradeform('wp_oauth_firebase_authentication_enterprise_plan')" style="cursor:inherit">Buy Now</button> |
| 77 | |
| 78 | <br> |
| 79 | <div class="moc-licensing-plan-feature-list"> |
| 80 | <ul> |
| 81 | <li style = font-size:15px> <b>All premium plan features </b></li> |
| 82 | <li>WP hooks to read Firebase token, login event and extend plugin functionality <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step6' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 83 | <li>Shortcodes to add Firebase Login and Registration Form <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step8' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 84 | <li>Firebase Authentication methods <br>Google, Facebook, Github, Twitter, Microsoft, Yahoo, Apple <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step9' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 85 | <li>Shortcode to add Firebase Social Login buttons <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step10' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 86 | <li>WP function to retrieve Firebase User JWT, and integrate your Custom/Third party Login and Registration forms. <a href='https://developers.miniorange.com/docs/wordpress-firebase/firebase-id-token' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 87 | <li>*Phone Authentication (Passwordless login using Firebase OTP verification) <a href='https://plugins.miniorange.com/firebase-premium-and-enterprise-plugin-features#step11' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 88 | </ul> |
| 89 | </div> |
| 90 | </div> |
| 91 | </div> |
| 92 | <!-- <div class="col-1 moct-align-center"></div> --> |
| 93 | <div class="col-4 moct-align-center"> |
| 94 | <div class="moc-licensing-plan card-body" style="background-color: #ffffff;"> |
| 95 | <div class="moc-licensing-plan-header"> |
| 96 | <div class="moc-licensing-plan-name">All-Inclusive</div> |
| 97 | </div><br> |
| 98 | <div class="moc-licensing-plan-price"><sup>$</sup>449<sup>*</sup></div> |
| 99 | <h3><a href="https://plugins.miniorange.com/woocommerce-cloud-firestore-integration" target="_blank" style="text-decoration: none;">[Cloud Firestore Integration]</a></h3> |
| 100 | <a class="btn btn-block text-uppercase moc-lp-buy-btn" href="mailto:oauthsupport@xecurify.com" target="_blank">Contact Us</a> |
| 101 | <br> |
| 102 | <div class="moc-licensing-plan-feature-list"> |
| 103 | <ul> |
| 104 | <li style = font-size:15px> <b>All enterprise plan features </b></li> |
| 105 | <li>Display Firestore Collection Data <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#stepe' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 106 | <li>Shortcodes to Dynamic Display Firestore Data <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#stepf' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 107 | <li>Sync WordPress User Advanced profile to Firestore <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#stepg' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 108 | <li>Sync WooCommerce prodcut Data to Firestore Collection <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#stepb' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 109 | <li>Sync WooCommerce order to Firestore Collection <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#stepc' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 110 | <li>Sync WooCommerce subscription prodcut Data to Firestore Collection <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#step3' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 111 | <li>Sync WooCommerce subscription order Data to Firestore Collection <a href='https://plugins.miniorange.com/woocommerce-cloud-firestore-integration#step4' target="_blank"> <i class="fa fa-external-link mo_external_link"></i></a></li> |
| 112 | <li></li> |
| 113 | </ul> |
| 114 | </div> |
| 115 | </div> |
| 116 | </div> |
| 117 | <br/><br/> |
| 118 | <div style="margin: 0 20px;"><b style="color: red">*</b><strong>Cost applicable for one instance only. The WordPress Firebase Autentication plugin licenses are subscription-based, and each license includes 12 months of maintenance, which covers version updates .</strong></div> |
| 119 | <div style="margin: 20px;"><p>miniOrange does not store or transfer any data which is coming from Firebase to the WordPress. All the data remains within your premises / server. We do not provide the developer license for our paid plugins and the source code is protected. It is strictly prohibited to make any changes in the code without having written permission from miniOrange. There are hooks provided in the plugin which can be used by the developers to extend the plugin's functionality.</p></div> |
| 120 | <div style="margin: 0 20px;"><p>At miniOrange, we want to ensure you are 100% happy with your purchase. If the premium plugin you purchased is not working as advertised and you've attempted to resolve any issues with our support team, which couldn't get resolved. Please check our <a href="https://plugins.miniorange.com/end-user-license-agreement" target="_blank">End User License Agreement</a> for more details. Please email us at <a href="mailto:oauthsupport@xecurify.com" target="_blank">oauthsupport@xecurify.com</a> for any queries regarding the return policy.</p></div> |
| 121 | |
| 122 | </div> |
| 123 | </div><br/> |
| 124 | <!-- End Licensing Table --> |
| 125 | <!-- JSForms Controllers --> |
| 126 | <script> |
| 127 | function upgradeform(planType) { |
| 128 | if(planType === "") { |
| 129 | location.href = "https://wordpress.org/plugins/firebase-authentication/"; |
| 130 | return; |
| 131 | } else { |
| 132 | jQuery('#requestOrigin').val(planType); |
| 133 | if(jQuery('#mo_customer_registered').val()==1){ |
| 134 | const url = `https://portal.miniorange.com/initializepayment?requestOrigin=${planType}`; |
| 135 | window.open(url, "_blank"); |
| 136 | } |
| 137 | else{ |
| 138 | location.href = jQuery('#mobacktoaccountsetup').attr('href'); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | } |
| 143 | </script> |
| 144 | <?php |
| 145 | } |
| 146 | } |
| 147 |