echo $currency_code; ?> > <input type="hidden" name=payment_key value=<?php echo $payment->getKey(); ?> > <input type="hidden" name=response_url value=<?php echo $response_url; ?> > <div class="pp-gap-top20"> <div><button id="pp-payment-app-buy" class ="btn btn-lg btn-primary"><?php echo XiText::_('COM_PAYPLANS_APP_PAYSEAL_PAYMENT_BUY'); ?> </button> <a class="btn btn-default btn-lg" href="<?php echo XiRoute::_("index.php?option=com_payplans&view=payment&task=complete&action=cancel&payment_key=" . $payment->getKey()); ?> "><?php echo XiText::_('COM_PAYPLANS_APP_PAYSEAL_PAYMENT_CANCEL'); ?> </a></div> </div> </form> <script src="<?php echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'payseal.js'); ?> " type="text/javascript"></script>
die; } ?> <script src="<?php echo PayplansHelperUtils::pathFS2URL(dirname(__FILE__) . DS . 'eway.js'); ?> " type="text/javascript"></script> <div> <div class="pp-subscription-display-action clearfix well well-small"> <form method="post" id="eway-update" action="#"> <?php echo XiText::_('COM_PAYPLANS_APP_EWAY_UPDATE_CARD_DESC'); ?> <?php $url = XiRoute::_('index.php?option=com_payplans&view=user&task=trigger&event=onPayplansUpdateLink&invoice_id=' . $invoice_id); ?> <a href="#" class="hasTip btn btn-link" onClick="payplans.url.modal('<?php echo $url; ?> ');return false;" title="<?php echo XiText::_('COM_PAYPLANS_APP_EWAY_UPDATE_TOOLTIP_DESC'); ?> "> <i class="fa fa-book"></i> <?php echo XiText::_('COM_PAYPLANS_APP_EWAY_UPDATE'); ?> </a> </form> </div>
</div> </div> </div> <div class="pp-plan-description"> <?php echo $group->getDescription(); ?> </div> <!-- Its necessary for making same height in case plans and group are being displayed together --> <div class="pp-plan-title"><h4> </h4></div> <div class="pp-plan-subscribebutton"> <a id="testPlan<?php echo $group->getId(); ?> " class="btn btn-primary" href="<?php echo XiRoute::_('index.php?option=com_payplans&view=plan&task=subscribe&group_id=' . $group->getId()); ?> "> <?php echo XiText::_('COM_PAYPLANS_GROUP_BUTTON'); ?> </a> </div> </div> </div> </div>
</h2> <hr > <div class="text-center"> <h4> <?php echo XiText::_('COM_PAYPLANS_PAYMENT_ERROR_MSG'); ?> </h4> <div> <?php echo XiText::_('COM_PAYPLANS_PAYMENT_ERROR_TRY_TO'); ?> <a class="pp-button" href="<?php echo XiRoute::_('index.php?option=com_payplans&view=plan&task=subscribe'); ?> "> <?php echo XiText::_('COM_PAYPLANS_PAYMENT_ERROR_SUBSCRIBE_AGAIN'); ?> </a> </div> <p> <?php echo implode("\n", $appCompleteHtml); ?> <?php echo XiText::_('COM_PAYPLANS_PAYMENT_ERROR_CONTACT_TO_ADMIN'); ?> <?php
$order = $subscription->getOrder(PAYPLANS_INSTANCE_REQUIRE); if (in_array($order->getStatus(), array(PayplansStatus::ORDER_EXPIRED))) { return true; } ?> <!-- display renew link --> <?php if ($subscription->isRecurring() && PayplansStatus::SUBSCRIPTION_EXPIRED == $subscription->getStatus()) { ?> <a class="btn btn-success" href="<?php echo XiRoute::_('index.php?option=com_payplans&view=order&task=trigger&event=onPayplansOrderRenewalRequest&subscription_key=' . $subscription->getKey()); ?> "> <i class="fa fa-repeat"></i> <?php echo XiText::_("COM_PAYPLANS_ORDER_RENEW_LINK"); ?> </a> <?php } elseif ('fixed' == $subscription->getExpirationType() && in_array($subscription->getStatus(), array(PayplansStatus::SUBSCRIPTION_EXPIRED, PayplansStatus::SUBSCRIPTION_ACTIVE))) { ?> <a class="btn btn-success" href="<?php echo XiRoute::_('index.php?option=com_payplans&view=order&task=trigger&event=onPayplansOrderRenewalRequest&subscription_key=' . $subscription->getKey()); ?> "> <i class="fa fa-repeat"></i> <?php echo XiText::_("COM_PAYPLANS_ORDER_RENEW_LINK"); ?> </a> <?php }
</span> <i class="fa fa-chevron-down"> </i> </span> <?php } else { ?> <?php $order = $subscription->getOrder(PAYPLANS_INSTANCE_REQUIRE); $noneInvoices = $order->getInvoices(PayplansStatus::NONE); $confirmedInvoices = $order->getInvoices(PayplansStatus::INVOICE_CONFIRMED); $pendingInvoices = array_merge($noneInvoices, $confirmedInvoices); if (!empty($pendingInvoices)) { $invoice = array_pop($pendingInvoices); ?> <a href="<?php echo XiRoute::_('index.php?option=com_payplans&view=invoice&task=confirm&invoice_key=' . $invoice->getKey()); ?> "> <span> <i class="pp-icon-share-alt"></i> <?php echo XiText::_('COM_PAYPLANS_FRONT_INVOICE_PAY_NOW'); ?> </span> </a> <?php } ?> <?php } ?> </div>
?> <div class="pp-invoice-thanks"> <h2 class="pp-primary pp-color pp-border pp-background"> <?php echo XiText::_('COM_PAYPLANS_PAYMENT_SUCCESS'); ?> </h2> <?php if (!empty($redirecturl)) { ?> <script type="text/javascript"> window.onload = function(){ setTimeout("payplans.url.redirect('<?php echo XiRoute::_($redirecturl); ?> ')", 3000); } </script> <?php } ?> <div> <?php echo $this->loadTemplate('partial_invoice', compact('invoice', 'user')); ?> </div> </div>
* @copyright Copyright (C) 2009 - 2015 Ready Bytes Software Labs Pvt. Ltd. All rights reserved. * @license GNU/GPL, see LICENSE.php * @package PayPlans * @subpackage Upgrade * @contact support+payplans@readybytes.in */ if (defined('_JEXEC') === false) { die; } $location = $this->getLocation(); XiHtml::script($location . DS . 'tmpl' . DS . 'upgrade.js'); ?> <?php $orderId = $subscription->getOrder(); $userId = $subscription->getBuyer(); $args = "event_args[userid]={$userId}&event_args[order_id]={$orderId}"; $url = XiRoute::_("index.php?option=com_payplans&view=plan&task=trigger&event=onPayplansUpgradeFromRequest&{$args}"); ?> <a class="btn btn-default" href="#" onClick="payplans.url.modal('<?php echo $url; ?> ');return false; "> <i class="fa fa-arrow-up"></i> <?php echo XiText::_('COM_PAYPLANS_APP_UPGRADE_BUTTON'); ?> </a>
<a href="<?php echo XiRoute::_('index.php?option=com_payplans&view=invoice&task=confirm&invoice_key=' . $invoice->getKey()); ?> "> <span> <i class="pp-icon-share-alt"></i> <?php echo XiText::_('COM_PAYPLANS_FRONT_INVOICE_PAY_NOW'); ?> </span> </a> <?php } elseif (XiHelperPlugin::getStatus('pdfinvoice', 'payplans')) { ?> <span class="pp-icon-download-alt pp-mouse-pointer hasTip" payplans-tipsy-gravity="s" onclick="payplans.url.redirect('<?php echo XiRoute::_('index.php?option=com_payplans&view=invoice&action=sitePdfInvoice&invoice_key=' . $invoice->getKey()); ?> ')" title="<?php echo XiText::_('COM_PAYPLANS_FRONT_INVOICE_DOWNLOAD_LINK'); ?> "> </span> <?php } ?> </td> </tr> <?php }
if (defined('_JEXEC') === false) { die; } ?> <div class="white-well clearfix"> <h5><?php echo $title; ?> </h5><hr> <div class="pp-content"> <div class=""> <?php foreach ($articles as $id => $article) { ?> <?php $url = 'index.php?option=com_content&view=article&id=' . $id; ?> <div><a href="<?php echo XiRoute::_($url); ?> "><?php echo $article->title; ?> </a></div> <?php } ?> </div> </div> </div>