Beispiel #1
0
 private static function authorizationNotification($notificationCode)
 {
     $credentials = PagSeguroConfig::getApplicationCredentials();
     try {
         $authorization = PagSeguroNotificationService::checkAuthorization($credentials, $notificationCode);
         // Do something with $authorization
     } catch (PagSeguroServiceException $e) {
         die($e->getMessage());
     }
 }