Skip to content

Commit

Permalink
Update premium version #
Browse files Browse the repository at this point in the history
  • Loading branch information
vidushigupta0607 committed Nov 30, 2023
1 parent 098ce0a commit c5947ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions src/connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,19 +249,10 @@ function mo_saml_show_customer_details()
</tr>
</table>
<br/> <br/>
<form style="display: none;" id="loginform"
action="<?php echo DB::get_option('mo_saml_host_name') . 'moas/#'; ?>"
target="_blank" method="post">
<input type="email" name="username"
value="<?php echo DB::get_option('mo_saml_admin_email'); ?>"/> <input
type="text" name="redirectUrl"
value="<?php echo DB::get_option('mo_saml_host_name') . 'moas/initializepayment'; ?>"/>
<input type="text" name="requestOrigin" id="requestOrigin"/>
</form>
<script>
function upgradeform(planType) {
jQuery('#requestOrigin').val(planType);
jQuery('#loginform').submit();
const url = `https://portal.miniorange.com/initializepayment?requestOrigin=${planType}`;
window.open(url, "_blank");
}
</script>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/licensingView.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class="app-menu__label"><b>Trial/Demo Request</b></span></a></li>
}
</script>

<h4>$549</h4>
<h4>$999</h4>
<a class="btn btn-large" id="upgrade_button"
style="background-color:#f7934c;color:#fff" href="#" onclick="upgradeform('laravel_saml_premium_plan')">Upgrade</a>
<br>
Expand Down

0 comments on commit c5947ff

Please # to comment.