Skip to content

Commit b18aa49

Browse files
committed
There is no $response anywhere here
Shouldn't this be $this->data instead?
1 parent b2319d6 commit b18aa49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Omnipay/CardSave/Message/Response.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function getMessage()
6767
public function getRedirectUrl()
6868
{
6969
if ($this->isRedirect()) {
70-
return (string) $response->TransactionOutputData->ThreeDSecureOutputData->ACSURL;
70+
return (string) $this->data->TransactionOutputData->ThreeDSecureOutputData->ACSURL;
7171
}
7272
}
7373

@@ -79,9 +79,9 @@ public function getRedirectMethod()
7979
public function getRedirectData()
8080
{
8181
return $redirectData = array(
82-
'PaReq' => (string) $response->TransactionOutputData->ThreeDSecureOutputData->PaREQ,
82+
'PaReq' => (string) $this->data->TransactionOutputData->ThreeDSecureOutputData->PaREQ,
8383
'TermUrl' => $this->getRequest()->getReturnUrl(),
84-
'MD' => (string) $response->TransactionOutputData['CrossReference'],
84+
'MD' => (string) $this->data->TransactionOutputData['CrossReference'],
8585
);
8686
}
8787
}

0 commit comments

Comments
 (0)