Skip to content

Commit a52fc73

Browse files
authored
Merge pull request #18 from sudiptpa/patch-2
Few imporvements on HPP
2 parents 70b8e68 + b4b80ca commit a52fc73

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

src/Message/HostedPaymentPurchaseRequest.php

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function getData()
3434

3535
$data['vendor_name'] = $this->getMerchantId();
3636
$data['payment_alert'] = $this->getPaymentAlertEmail();
37-
$data['payment_reference'] = $this->getTransactionReference();
37+
$data['payment_reference'] = $this->getTransactionId();
3838
$data['currency'] = $this->getCurrency();
3939
$data['return_link_url'] = $this->getReturnUrl();
4040
$data['reply_link_url'] = $this->getNotifyUrl() ?: $this->getReturnUrl();
@@ -60,14 +60,6 @@ public function getReturnUrlText()
6060
return $this->getParameter('returnUrlText');
6161
}
6262

63-
/**
64-
* @return mixed
65-
*/
66-
public function getTransactionReference()
67-
{
68-
return $this->getParameter('transactionReference');
69-
}
70-
7163
/**
7264
* @param $data
7365
*
@@ -97,14 +89,4 @@ public function setReturnUrlText($value)
9789
{
9890
return $this->getParameter('returnUrlText', $value);
9991
}
100-
101-
/**
102-
* @param $value
103-
*
104-
* @return mixed
105-
*/
106-
public function setTransactionReference($value)
107-
{
108-
return $this->setParameter('transactionReference', $value);
109-
}
11092
}

0 commit comments

Comments
 (0)