Skip to content

Commit

Permalink
Updating payu latam to use new sandbox domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Archanium committed Jul 5, 2016
1 parent 896f030 commit a4c37cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Message/Latam/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest
{
protected $liveEndpoint = "https://gateway.payulatam.com/ppp-web-gateway/";
protected $testEndpoint = "https://stg.gateway.payulatam.com/ppp-web-gateway/";
protected $testEndpoint = "https://sandbox.gateway.payulatam.com/ppp-web-gateway/";

public function getEndpoint()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Message/Latam/PurchaseRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function testGetData()
$this->assertInstanceOf("Omnipay\\PayU\\Message\\Latam\\PurchaseResponse", $response);
$this->assertTrue($response->isRedirect());
$content = $response->getRedirectResponse()->getContent();
$this->assertContains("action=\"https://stg.", $content);
$this->assertContains("action=\"https://sandbox.", $content);

}
}

0 comments on commit a4c37cb

Please sign in to comment.