Commit 9ba121ef by Tobin

dc

parent c9c09999
......@@ -605,8 +605,8 @@ class Api extends CI_Controller {
empty($resp->txnCardDetails) || count($resp->txnCardDetails) <= 0){
$this->errorResponse('893','No Data Found');
}
pr(json_encode($resp->txnCardDetails));
$resp = $this->encrypt($resp->txnCardDetails,$this->local_key,$this->local_iv);
$cardData = '"'.json_encode($resp->txnCardDetails).'"';
$resp = $this->encrypt($cardData,$this->local_key,$this->local_iv);
$this->response(array('saved_cards'=>$resp));
}
......
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