Skip to content

Commit f157737

Browse files
committed
cancelUrl
1 parent 76006b5 commit f157737

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Message/PurchaseRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ public function getCustomerURL()
144144
*/
145145
public function setClientBackURL($value)
146146
{
147-
return $this->setParameter('ClientBackURL', $value);
147+
return $this->setCancelUrl($value);
148148
}
149149

150150
/**
151151
* @return ?string
152152
*/
153153
public function getClientBackURL()
154154
{
155-
return $this->getParameter('ClientBackURL');
155+
return $this->getCancelUrl();
156156
}
157157

158158
/**
@@ -930,7 +930,7 @@ public function getData(): array
930930
'ReturnURL' => $this->getReturnUrl(),
931931
'NotifyURL' => $this->getNotifyUrl(),
932932
'CustomerURL' => $this->getCustomerURL(),
933-
'ClientBackURL' => $this->getClientBackURL(),
933+
'ClientBackURL' => $this->getCancelUrl(),
934934
'Email' => $this->getEmail(),
935935
'EmailModify' => $this->getEmailModify(),
936936
'LoginType' => $this->getLoginType(),

0 commit comments

Comments
 (0)