-
Notifications
You must be signed in to change notification settings - Fork 1
Autenticação
Victor Cainã Martins edited this page Jul 8, 2018
·
2 revisions
Para se autenticar na Getnet você vai precisar do seu Client Id e Client Secret
Com suas credenciais criei uma array com esses dados e utilize o método authorize
do arquivo GetNet_Token
, da seguinte forma:
$authenticate = [
'client_id' => 'eb153ef1-...-ee407e47b199',
'client_secret' => 'fcf1e007-...-e51f9de0b9e6'
];
$authorization = new GetNet_Token($authenticate);
$authorization->authorize();