|
|
@@ -710,6 +710,12 @@ function __construct(){
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if(!empty($protection_eligibility)){
|
|
|
+ $protection_eligibility = ucfirst(strtolower($protection_eligibility));
|
|
|
+ if(stripos($protection_eligibility,'not') !== false){
|
|
|
+ $protection_eligibility = 'Ineligible';
|
|
|
+ }
|
|
|
+ }
|
|
|
return array('g'=>1,'d'=>$a['transactions'][0]['authorization'],'protection_eligibility'=>$protection_eligibility);
|
|
|
}
|
|
|
else
|
|
|
@@ -749,6 +755,12 @@ function __construct(){
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if(!empty($protection_eligibility)){
|
|
|
+ $protection_eligibility = ucfirst(strtolower($protection_eligibility));
|
|
|
+ if(stripos($protection_eligibility,'not') !== false){
|
|
|
+ $protection_eligibility = 'Ineligible';
|
|
|
+ }
|
|
|
+ }
|
|
|
return array('g'=>1,'d'=>$a['transactions'][0]['authorization'],'protection_eligibility'=>$protection_eligibility);
|
|
|
}
|
|
|
else
|