diff --git a/src/Message/Latam/AbstractRequest.php b/src/Message/Latam/AbstractRequest.php index cec6638..1bc3b8b 100644 --- a/src/Message/Latam/AbstractRequest.php +++ b/src/Message/Latam/AbstractRequest.php @@ -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() { diff --git a/tests/Message/Latam/PurchaseRequestTest.php b/tests/Message/Latam/PurchaseRequestTest.php index 007b056..c8b582e 100644 --- a/tests/Message/Latam/PurchaseRequestTest.php +++ b/tests/Message/Latam/PurchaseRequestTest.php @@ -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); } }