The WePay API returns the full authorize URL now

git-svn-id: https://svn.php.net/repository/pecl/oauth/trunk@301479 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Rasmus Lerdorf
2010-07-22 21:58:23 +00:00
parent 462a4f36e6
commit 231fbdaff9

View File

@@ -10,7 +10,7 @@ try {
file_put_contents(OAUTH_TMP_DIR . "/wepay_request_token_resp",serialize($arrayResp));
// Get the authorizating URL that the user needs to click on to authorize the request token
$authorizeUrl = $arrayResp["login_url"] . "&oauth_token=" . $arrayResp['oauth_token'];
$authorizeUrl = $arrayResp["login_url"];
if(PHP_SAPI=="cli") {
echo "Point your Web browser at: {$authorizeUrl}\n";
} else {