Welcome Guest, Not a member yet? Register   Sign In
How to load config options into library from model. in Ci4.5
#2

This works, didn't think it would be that easy for some reason lol.

PHP Code:
$config = array(
            
'Sandbox' => FALSE,     
            
'APIUsername' => $pp_username,
            
'APIPassword' => $pp_password,
            
'APISignature' => $pp_signature
            
'APISubject' => '',
            
'APIVersion' => config('Paypal')->APIVersion
        
);
        
$this->Paypal_pro = new Paypal_pro($config); 
Reply


Messages In This Thread
RE: How to load config options into library from model. in Ci4.5 - by xsPurX - 05-30-2024, 12:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB