added second call
This commit is contained in:
@@ -133,6 +133,20 @@ class AirFlow extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
//LET US GET TEH AGREEMENT FIXED
|
||||
$in['limit'] = 2;
|
||||
$in['status'] = CARD_HOLDER_CREATED; // pick from holders
|
||||
$local_url = "http://".$this->micro_service_net1.":3038/cardapplications";
|
||||
$outX = $this->APIcall('POST', $local_url, $in);
|
||||
log_message('critical', "AirFlow::flowStripeCard ********* ALL ".serialize($outX) );
|
||||
foreach ($outX['result_list'] as $index=>$item){
|
||||
if ( $item['request_id'] !='' && $item['request_uid'] !=''){
|
||||
$item['aggrement_ip'] = '76.209.103.227';
|
||||
$local_url = "http://".$this->micro_service_net1.":3038/acceptterms";
|
||||
$out = $this->APIcall('POST', $local_url, $item);
|
||||
}
|
||||
}
|
||||
|
||||
// work on the list
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user