added air call
This commit is contained in:
@@ -112,19 +112,19 @@ class AirFlow extends BaseController
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
const CARD_REQUESTED =0;
|
||||
const CARD_HOLDER_CREATED = 10;
|
||||
const CARD_OWNER_ACTIVE = 30;
|
||||
const CARD_ASSIGNED = 40;
|
||||
|
||||
|
||||
public function flowStripeCard():array{
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
|
||||
/* GET LIST IN THE LIMIT AT STATUS */
|
||||
$in['limit'] = 2;
|
||||
$in['status'] = CARD_REQUESTED;
|
||||
$local_url = "http://".$this->micro_service_net1.":3038/createCardHolder";
|
||||
$out = $this->APIcall('POST', $local_url, $in);
|
||||
|
||||
log_message('critical', "AirFlow::flowStripeCard ********* ALL ".serialize($out) );
|
||||
|
||||
/*
|
||||
if ( $out['request_id'] !='' && $out['request_uid'] !=''){
|
||||
|
||||
Reference in New Issue
Block a user