Skip to content

Commit

Permalink
paypal form submit with order list page fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsbd71 committed Sep 30, 2016
1 parent ec7e678 commit 4b8dc26
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/com_digicom/media/js/digicom.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,12 @@ if (typeof jQuery === 'undefined') {
{
e.preventDefault();

$(id).digicomodal({
backdrop : 'static',
keyboard : true
});
$(id).digicomodal({
backdrop : 'static',
keyboard : true
});

Digicom.dataSet("paymentForm").submit();
Digicom.dataSet("paymentForm").submit();
},
/**
/**
Expand Down
2 changes: 1 addition & 1 deletion src/com_digicom/site/templates/default/order.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

<form method="post" class="form-inline" action="<?php echo JRoute::_('index.php?option=com_digicom&view=checkout'); ?>">

<?php echo DigiComSiteHelperDigicom::getPaymentPlugins($configs,$configs->get('default_payment','offline')); ?>
<?php echo DigiComSiteHelperDigicom::getPaymentPlugins($configs); ?>
<button class="btn pull-right" type="submit"><?php echo JText::_('COM_DIGICOM_ORDER_PAY_NOW'); ?></button>

<input type="hidden" name="option" value="com_digicom">
Expand Down
2 changes: 1 addition & 1 deletion src/plg_digicom_pay_paypal/paypal/tmpl/bootstrap2.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<input type="hidden" name="cmd" value="_xclick" />

<div class="hide">
<input type="submit" name="submit"
<input type="Submit" name="submit"
value="<?php echo JText::_('SUBMIT'); ?>"
alt="Make payments with PayPal - it's fast, free and secure!" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/plg_digicom_pay_paypal/paypal/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class="btn"
<input type="hidden" name="cmd" value="_xclick" />

<div class="hide">
<input type="submit" name="submit" value="<?php echo JText::_('SUBMIT'); ?>" alt="Make payments with PayPal - it's fast, free and secure!" />
<input type="submit" name="Submit" value="<?php echo JText::_('SUBMIT'); ?>" alt="Make payments with PayPal - it's fast, free and secure!" />
</div>

</form>
Expand Down

0 comments on commit 4b8dc26

Please sign in to comment.