Beispiel #1
0
 private static function preApprovalNotification($preApprovalCode)
 {
     $credentials = PagSeguroConfig::getAccountCredentials();
     try {
         $preApproval = PagSeguroNotificationService::checkPreApproval($credentials, $preApprovalCode);
         // Do something with $preApproval
     } catch (PagSeguroServiceException $e) {
         die($e->getMessage());
     }
 }