Skip to content

Commit ec71c5b

Browse files
committed
Merge pull request thephpleague#102 from steveneaston/master
Use DirectCompleteAuthorizeRequest on completeAuthorize function
2 parents 6b2ade6 + e2028dc commit ec71c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/SagePay/DirectGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function authorize(array $parameters = array())
6363

6464
public function completeAuthorize(array $parameters = array())
6565
{
66-
return $this->createRequest('\Omnipay\SagePay\Message\DirectAuthorizeRequest', $parameters);
66+
return $this->createRequest('\Omnipay\SagePay\Message\DirectCompleteAuthorizeRequest', $parameters);
6767
}
6868

6969
public function capture(array $parameters = array())

0 commit comments

Comments
 (0)