Skip to content

Commit 6010b7a

Browse files
committed
Moved DPMAuthorizeResponse to DPMResponse as it serves as DPMPurchaseResponse too
1 parent a8cb0c9 commit 6010b7a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Message/DPMAuthorizeRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@ public function getData()
5656
*/
5757
public function sendData($data)
5858
{
59-
return $this->response = new DPMAuthorizeResponse($this, $data, $this->getEndpoint());
59+
return $this->response = new DPMResponse($this, $data, $this->getEndpoint());
6060
}
6161
}

src/Message/DPMAuthorizeResponse.php renamed to src/Message/DPMResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
use Omnipay\Common\Message\RedirectResponseInterface;
88

99
/**
10-
* Authorize.Net DPM Authorize Response
11-
* Here we want the application to present a POST form to the user. This object will
10+
* Authorize.Net DPM Authorize and Purchase Response
11+
* We want the application to present a POST form to the user. This object will
1212
* provide the helper methods for doing so.
1313
*/
14-
class DPMAuthorizeResponse extends AbstractResponse implements RedirectResponseInterface
14+
class DPMResponse extends AbstractResponse implements RedirectResponseInterface
1515
{
1616
protected $postUrl;
1717

0 commit comments

Comments
 (0)