diff --git a/src/Provider/Mollie.php b/src/Provider/Mollie.php index 6b743bd..84f02d8 100644 --- a/src/Provider/Mollie.php +++ b/src/Provider/Mollie.php @@ -29,7 +29,7 @@ class Mollie extends AbstractProvider * * @const string */ - const MOLLIE_WEB_URL = 'https://www.mollie.com'; + const MOLLIE_WEB_URL = 'https://my.mollie.com'; /** * The prefix for the Client ID diff --git a/tests/src/Provider/MollieTest.php b/tests/src/Provider/MollieTest.php index 0f24257..afb9915 100644 --- a/tests/src/Provider/MollieTest.php +++ b/tests/src/Provider/MollieTest.php @@ -65,7 +65,7 @@ public function testAuthorizationUrl() list($url, $queryString) = explode('?', $authUrl); parse_str($queryString, $query); - $this->assertEquals('https://www.mollie.com/oauth2/authorize', $url); + $this->assertEquals('https://my.mollie.com/oauth2/authorize', $url); $this->assertEquals([ 'state' => $this->provider->getState(), 'client_id' => self::MOCK_CLIENT_ID,