Skip to content

Commit

Permalink
Add api details to transaction manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Waters committed Jun 25, 2015
1 parent c3cb27e commit 05a9f13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PaypalPHP/Managers/TransactionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public function transactionSearch(array $searchParameters)
);
$localClient = curl_copy_handle($this->_client);
$url = $this->_config["nvp_endpoint"];
$url .= "?METHOD=TransactionSearch&VERSION=114.0&";
$url .= "?METHOD=TransactionSearch&VERSION=114.0";
$url .= "&USER=" . $this->_config["username"];
$url .= "&PWD=" . $this->_config["password"];
$url .= "&SIGNATURE=" . $this->_config["signature"] . "&";
if(count($searchParameters) == 0)
{
throw new TransactionSearchException("At least one search parameter must be specified");
Expand Down

0 comments on commit 05a9f13

Please sign in to comment.