Skip to content

Commit

Permalink
Rename testEndpoint
Browse files Browse the repository at this point in the history
Fixes #16
  • Loading branch information
barryvdh committed May 14, 2018
1 parent b27d282 commit 4534147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/PurchaseResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function isRedirect()

public function getRedirectUrl()
{
$endpoint = $this->getRequest()->getTestMode() ? $this->testendpoint : $this->endpoint;
$endpoint = $this->getRequest()->getTestMode() ? $this->testEndpoint : $this->endpoint;
return $endpoint.'?'.http_build_query($this->data);
}

Expand Down

0 comments on commit 4534147

Please sign in to comment.