Commit f1dd9ee2 by Tobin

dc

parent 30c8f3dd
......@@ -606,8 +606,7 @@ class Api extends CI_Controller {
$this->errorResponse('893','No Data Found');
}
$cardData = json_encode(json_decode(json_encode($resp->txnCardDetails),true));
pr($cardData);
$cardData = "'".json_encode(json_decode(json_encode($resp->txnCardDetails),true))."'";
$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