aboutsummaryrefslogtreecommitdiffstats
path: root/public/catalog/controller/extension/module/sagepay_direct_cards.php
blob: 0d4dce1179e302383d78dcc9f12dc314fd1c2a33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
class ControllerExtensionModuleSagepayDirectCards extends Controller {
	public function index() {
		if ($this->config->get('module_sagepay_direct_cards_status') && $this->config->get('payment_sagepay_direct_status') && $this->customer->isLogged()) {
			$this->load->language('account/sagepay_direct_cards');

			$data['card'] = $this->url->link('account/sagepay_direct_cards', '', true);

			return $this->load->view('extension/module/sagepay_direct_cards', $data);
		}
	}

}