Commit 83120733 by Tobin

dc

parent 6aa6da11
...@@ -605,7 +605,8 @@ class Api extends CI_Controller { ...@@ -605,7 +605,8 @@ class Api extends CI_Controller {
empty($resp->txnCardDetails) || count($resp->txnCardDetails) <= 0){ empty($resp->txnCardDetails) || count($resp->txnCardDetails) <= 0){
$this->errorResponse('893','No Data Found'); $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='') { function encryptePayData($merchant_iv='',$merchant_key='',$plainText='') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment