Commit f619b729 by Tobin

dc

parent 322237bf
...@@ -605,8 +605,8 @@ class Api extends CI_Controller { ...@@ -605,8 +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');
} }
$cardData = json_encode(json_encode($resp->txnCardDetails)); pr($resp->txnCardDetails);
// $cardData = '"'.json_encode(json_encode($resp->txnCardDetails)).'"'; $cardData = json_encode($resp->txnCardDetails);
$resp = $this->encrypt($cardData,$this->local_key,$this->local_iv); $resp = $this->encrypt($cardData,$this->local_key,$this->local_iv);
$this->response(array('saved_cards'=>$resp)); $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