Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adiciona arquivos na area admin para servir como modulos
| Arquivo | Descriçao | | ------- | --------- | | pagseguro_boleto.php | Modulo para boleto | | pagseguro_credit.php | Modulo para cartao de credito | | pagseguro_debit.php | Modulo para acrtao de debito O acesso ao modulo sera redirecionado para _extension/payment/pagseguro_
- Loading branch information
1 parent
8e21361
commit 3e437d9
Showing
8 changed files
with
103 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
upload/admin/controller/extension/payment/pagseguro_boleto.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
class ControllerExtensionPaymentPagSeguroBoleto extends Controller | ||
{ | ||
public function index() | ||
{ | ||
$this->response->redirect( | ||
$this->url->link('extension/payment/pagseguro', 'user_token=' . $this->session->data['user_token']) | ||
); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
upload/admin/controller/extension/payment/pagseguro_credit.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
class ControllerExtensionPaymentPagSeguroCredit extends Controller | ||
{ | ||
public function index() | ||
{ | ||
$this->response->redirect( | ||
$this->url->link('extension/payment/pagseguro', 'user_token=' . $this->session->data['user_token']) | ||
); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
upload/admin/controller/extension/payment/pagseguro_debit.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
class ControllerExtensionPaymentPagSeguroDebit extends Controller | ||
{ | ||
public function index() | ||
{ | ||
$this->response->redirect( | ||
$this->url->link('extension/payment/pagseguro', 'user_token=' . $this->session->data['user_token']) | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
upload/admin/language/en-gb/extension/payment/pagseguro_boleto.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// Heading | ||
$_['heading_title'] = 'PagSeguro Checkout Transparente (Boleto)'; | ||
|
||
// Text | ||
$_['text_pagseguro_boleto'] = '<a href="https://valdeir.dev"><img src="/admin/view/image/payment/pagseguro.png" /></a>'; |
7 changes: 7 additions & 0 deletions
7
upload/admin/language/en-gb/extension/payment/pagseguro_credit.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// Heading | ||
$_['heading_title'] = 'PagSeguro Checkout Transparente (Cartão de Crédito)'; | ||
|
||
// Text | ||
$_['text_pagseguro_credit'] = '<a href="https://valdeir.dev"><img src="/admin/view/image/payment/pagseguro.png" /></a>'; |
7 changes: 7 additions & 0 deletions
7
upload/admin/language/en-gb/extension/payment/pagseguro_debit.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// Heading | ||
$_['heading_title'] = 'PagSeguro Checkout Transparente (Cartão de Débito)'; | ||
|
||
// Text | ||
$_['text_pagseguro_debit'] = '<a href="https://valdeir.dev"><img src="/admin/view/image/payment/pagseguro.png" /></a>'; |