We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8e923b commit edda9deCopy full SHA for edda9de
src/Message/AbstractRequest.php
@@ -6,7 +6,7 @@
6
*/
7
abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest
8
{
9
- protected $endpoint = 'https://gateway.perpetualpayments.com/api/transact.php';
+ protected $endpoint = 'https://secure.nmi.com/api/transact.php';
10
11
public function getUsername()
12
@@ -153,6 +153,11 @@ public function sendData($data)
153
return $this->response = new DirectPostResponse($this, $httpResponse->getBody());
154
}
155
156
+ public function setEndpoint($value)
157
+ {
158
+ return $this->setParameter('endpoint', $value);
159
+ }
160
+
161
public function getEndpoint()
162
163
return $this->endpoint;
0 commit comments