Skip to content

Commit f1a9cd4

Browse files
Fix for payment express to cope with change in where I think html_entities belongs
1 parent eba3774 commit f1a9cd4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

vendor/omnipay/paymentexpress/src/Message/PxPayAuthorizeRequest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,14 @@ protected function createResponse($data)
245245
{
246246
return $this->response = new PxPayAuthorizeResponse($this, $data);
247247
}
248+
249+
/**
250+
* Get the request return URL.
251+
*
252+
* @return string
253+
*/
254+
public function getReturnUrl()
255+
{
256+
return htmlentities($this->getParameter('returnUrl'));
257+
}
248258
}

0 commit comments

Comments
 (0)