Skip to content

Commit

Permalink
cancelUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Nov 13, 2023
1 parent 76006b5 commit f157737
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ public function getCustomerURL()
*/
public function setClientBackURL($value)
{
return $this->setParameter('ClientBackURL', $value);
return $this->setCancelUrl($value);
}

/**
* @return ?string
*/
public function getClientBackURL()
{
return $this->getParameter('ClientBackURL');
return $this->getCancelUrl();
}

/**
Expand Down Expand Up @@ -930,7 +930,7 @@ public function getData(): array
'ReturnURL' => $this->getReturnUrl(),
'NotifyURL' => $this->getNotifyUrl(),
'CustomerURL' => $this->getCustomerURL(),
'ClientBackURL' => $this->getClientBackURL(),
'ClientBackURL' => $this->getCancelUrl(),
'Email' => $this->getEmail(),
'EmailModify' => $this->getEmailModify(),
'LoginType' => $this->getLoginType(),
Expand Down

0 comments on commit f157737

Please sign in to comment.