Commit 322237bf by Tobin

dc

parent 9ba121ef
......@@ -605,7 +605,8 @@ class Api extends CI_Controller {
empty($resp->txnCardDetails) || count($resp->txnCardDetails) <= 0){
$this->errorResponse('893','No Data Found');
}
$cardData = '"'.json_encode($resp->txnCardDetails).'"';
$cardData = json_encode(json_encode($resp->txnCardDetails));
// $cardData = '"'.json_encode(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