Skip to content
Permalink
Browse files

changed the method name ijn payment gateways from action to order

  • Loading branch information...
danielkerr committed Jun 29, 2015
1 parent 52431de commit e9ea2833ac64709c232fac95cc68931fec33a447
@@ -359,7 +359,7 @@ public function addSubmission() {
$this->model_payment_amazon_checkout->addReportSubmission($this->request->get['order_id'], $this->request->get['submission_id']);
}
public function action() {
public function order() {
$this->load->model('sale/order');
$this->load->model('payment/amazon_checkout');
$this->language->load('sale/order');
@@ -310,7 +310,7 @@ public function uninstall() {
$this->model_extension_event->deleteEvent('amazon_history_capture');
}
public function action() {
public function order() {
if ($this->config->get('amazon_login_pay_status')) {
@@ -204,7 +204,7 @@ public function uninstall() {
$this->model_payment_bluepay_hosted->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('bluepay_hosted_status')) {
$this->load->model('payment/bluepay_hosted');
@@ -181,7 +181,7 @@ public function uninstall() {
$this->model_payment_bluepay_redirect->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('bluepay_redirect_status')) {
$this->load->model('payment/bluepay_redirect');
@@ -253,7 +253,7 @@ public function uninstall() {
$this->model_payment_firstdata->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('firstdata_status')) {
$this->load->model('payment/firstdata');
@@ -324,7 +324,7 @@ public function uninstall() {
$this->model_payment_firstdata_remote->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('firstdata_remote_status')) {
$this->load->model('payment/firstdata_remote');
@@ -235,7 +235,7 @@ public function index() {
$this->response->setOutput($this->load->view('payment/g2apay.tpl', $data));
}
public function action() {
public function order() {
if ($this->config->get('g2apay_status')) {
@@ -293,7 +293,7 @@ public function install() {
$this->model_payment_globalpay->install();
}
public function action() {
public function order() {
if ($this->config->get('globalpay_status')) {
$this->load->model('payment/globalpay');
@@ -258,7 +258,7 @@ public function install() {
$this->model_payment_globalpay_remote->install();
}
public function action() {
public function order() {
if ($this->config->get('globalpay_remote_status')) {
$this->load->model('payment/globalpay_remote');
@@ -885,7 +885,7 @@ public function uninstall() {
$this->model_payment_pp_express->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('pp_express_status')) {
$this->load->model('payment/pp_express');
$this->load->language('payment/pp_express_order');
@@ -445,7 +445,7 @@ public function void() {
$this->response->setOutput(json_encode($json));
}
public function action() {
public function order() {
$this->load->model('payment/pp_payflow_iframe');
$this->load->language('payment/pp_payflow_iframe');
@@ -769,7 +769,7 @@ public function void() {
$this->response->setOutput(json_encode($json));
}
public function action() {
public function order() {
$this->load->model('payment/pp_pro_iframe');
$this->load->language('payment/pp_pro_iframe');
@@ -293,7 +293,7 @@ public function install() {
$this->model_payment_realex->install();
}
public function action() {
public function order() {
if ($this->config->get('realex_status')) {
$this->load->model('payment/realex');
@@ -258,7 +258,7 @@ public function install() {
$this->model_payment_realex_remote->install();
}
public function action() {
public function order() {
if ($this->config->get('realex_remote_status')) {
$this->load->model('payment/realex_remote');
@@ -193,7 +193,7 @@ public function uninstall() {
$this->model_payment_sagepay_direct->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('sagepay_direct_status')) {
@@ -194,7 +194,7 @@ public function uninstall() {
$this->model_payment_sagepay_server->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('sagepay_server_status')) {
$this->load->model('payment/sagepay_server');
@@ -293,7 +293,7 @@ public function uninstall() {
$this->model_payment_securetrading_pp->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('securetrading_pp_status')) {
$this->load->model('payment/securetrading_pp');
@@ -404,7 +404,7 @@ public function showTransactions() {
$this->response->setOutput($this->render());
}
public function action() {
public function order() {
if ($this->config->get('securetrading_ws_status')) {
$this->load->model('payment/securetrading_ws');
@@ -256,7 +256,7 @@ public function uninstall() {
$this->model_payment_worldpay->uninstall();
}
public function action() {
public function order() {
if ($this->config->get('worldpay_status')) {
@@ -22,7 +22,8 @@
<?php if ($invoice_no) { ?>
<i class="fa fa-shopping-cart fa-fw"></i> <?php echo $invoice_no; ?><br />
<?php } else { ?>
<i class="fa fa-shopping-cart fa-fw"></i> <button id="button-invoice" class="btn btn-success btn-xs"><i class="fa fa-cog"></i> <?php echo $button_generate; ?></button>
<i class="fa fa-shopping-cart fa-fw"></i>
<button id="button-invoice" class="btn btn-success btn-xs"><i class="fa fa-cog"></i> <?php echo $button_generate; ?></button>
<br />
<?php } ?>
<br />
@@ -193,8 +194,8 @@
</div>
</div>
<div class="tab-pane" id="tab-additional">
<?php if ($account_custom_fields) { ?>
<table class="table table-bordered">
<?php if ($account_custom_fields) { ?>
<thead>
<tr>
<td colspan="2"><?php echo $text_account_custom_field; ?></td>
@@ -203,13 +204,15 @@
<tbody>
<?php foreach ($account_custom_fields as $custom_field) { ?>
<tr>
<td><?php echo $custom_field['name']; ?>:</td>
<td><?php echo $custom_field['name']; ?></td>
<td><?php echo $custom_field['value']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
<?php if ($payment_custom_fields) { ?>
</table>
<?php } ?>
<?php if ($payment_custom_fields) { ?>
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2"><?php echo $text_payment_custom_field; ?></td>
@@ -218,13 +221,15 @@
<tbody>
<?php foreach ($payment_custom_fields as $custom_field) { ?>
<tr>
<td><?php echo $custom_field['name']; ?>:</td>
<td><?php echo $custom_field['name']; ?></td>
<td><?php echo $custom_field['value']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
<?php if ($shipping_method && $shipping_custom_fields) { ?>
</table>
<?php } ?>
<?php if ($shipping_method && $shipping_custom_fields) { ?>
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2"><?php echo $text_shipping_custom_field; ?></td>
@@ -233,17 +238,19 @@
<tbody>
<?php foreach ($shipping_custom_fields as $custom_field) { ?>
<tr>
<td><?php echo $custom_field['name']; ?>:</td>
<td><?php echo $custom_field['name']; ?></td>
<td><?php echo $custom_field['value']; ?></td>
</tr>
<?php } ?>
</tbody>
<?php } ?>
</table>
<?php } ?>
<table class="table table-bordered">
<thead>
<tr>
<td colspan="2"><?php echo $text_browser; ?></td>
</tr>
</thead>
</thead>
<tbody>
<tr>
<td><?php echo $text_ip; ?></td>

0 comments on commit e9ea283

Please sign in to comment.
You can’t perform that action at this time.