Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
83120733
Commit
83120733
authored
5 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
6aa6da11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Api.php
application/controllers/Api.php
+2
-1
No files found.
application/controllers/Api.php
View file @
83120733
...
...
@@ -605,7 +605,8 @@ class Api extends CI_Controller {
empty
(
$resp
->
txnCardDetails
)
||
count
(
$resp
->
txnCardDetails
)
<=
0
){
$this
->
errorResponse
(
'893'
,
'No Data Found'
);
}
$this
->
response
(
array
(
'saved_cards'
=>
encrypt
(
$resp
->
txnCardDetails
,
$this
->
local_key
,
$this
->
local_iv
)));
$resp
=
$this
->
encrypt
(
$resp
->
txnCardDetails
,
$this
->
local_key
,
$this
->
local_iv
);
$this
->
response
(
array
(
'saved_cards'
=>
$resp
));
}
function
encryptePayData
(
$merchant_iv
=
''
,
$merchant_key
=
''
,
$plainText
=
''
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment