diff --git a/Oara/Network/Publisher/ImpactRadius.php b/Oara/Network/Publisher/ImpactRadius.php index 47c4eeb2..c207838d 100644 --- a/Oara/Network/Publisher/ImpactRadius.php +++ b/Oara/Network/Publisher/ImpactRadius.php @@ -49,7 +49,7 @@ public function login($credentials) $user = $this->_credentials['user']; $password = $this->_credentials['password']; - $loginUrl = 'https://member.impactradius.co.uk/secure/login.user'; + $loginUrl = 'https://app.impact.com/secure/login.user'; $valuesLogin = array(new \Oara\Curl\Parameter('j_username', $user), new \Oara\Curl\Parameter('j_password', $password) @@ -62,7 +62,7 @@ public function login($credentials) // Open Technical Settings page $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); $apiPageHTML = $this->_client->get($urls); // Parse page content @@ -341,7 +341,7 @@ public function getPaymentHistory() $paymentHistory = array(); $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/nositemesh/accounting/getPayStubParamsCSV.csv', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/nositemesh/accounting/getPayStubParamsCSV.csv', array()); $exportReport = $this->_client->get($urls); $exportData = \str_getcsv($exportReport[0], "\n"); diff --git a/Oara/Network/Publisher/Smg.php b/Oara/Network/Publisher/Smg.php index 70ed0e66..e46563b9 100755 --- a/Oara/Network/Publisher/Smg.php +++ b/Oara/Network/Publisher/Smg.php @@ -49,7 +49,7 @@ public function login($credentials) $user = $this->_credentials['user']; $password = $this->_credentials['password']; - $loginUrl = 'https://member.impactradius.co.uk/secure/login.user'; + $loginUrl = 'https://app.impact.com/secure/login.user'; $valuesLogin = array(new \Oara\Curl\Parameter('j_username', $user), new \Oara\Curl\Parameter('j_password', $password) @@ -61,7 +61,7 @@ public function login($credentials) $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); $exportReport = $this->_client->get($urls); $dom = new \Zend\Dom\Query($exportReport[0]); $results = $dom->execute('div .uitkFields'); @@ -70,11 +70,11 @@ public function login($credentials) $activeAPI = array(new \Oara\Curl\Parameter('_eventId', "activate")); $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', $activeAPI); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', $activeAPI); $this->_client->post($urls); $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/mediapartner/accountSettings/mp-wsapi-flow.ihtml?', array()); $exportReport = $this->_client->get($urls); $dom = new \Zend\Dom\Query($exportReport[0]); $results = $dom->execute('div .uitkFields'); @@ -126,7 +126,7 @@ public function checkConnection() //Checking connection for the impact Radius website $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/mediapartner/home/pview.ihtml', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/mediapartner/home/pview.ihtml', array()); $exportReport = $this->_client->get($urls); $newCheck = false; if (\preg_match('/\/logOut\.user/', $exportReport[0], $match)) { @@ -266,7 +266,7 @@ public function getPaymentHistory() $paymentHistory = array(); $urls = array(); - $urls[] = new \Oara\Curl\Request('https://member.impactradius.co.uk/secure/nositemesh/accounting/getPayStubParamsCSV.csv', array()); + $urls[] = new \Oara\Curl\Request('https://app.impact.com/secure/nositemesh/accounting/getPayStubParamsCSV.csv', array()); $exportReport = $this->_client->get($urls); $exportData = \str_getcsv($exportReport[0], "\n");