Skip to content

Commit 91e2059

Browse files
Merge pull request #3 from vanthao03596/vanthao03596-patch-1
Fix setter vnp_BankCode
2 parents c5ab63f + 0dad0c9 commit 91e2059

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Tất cả lịch sử tiến trình phát triển thư viện
44

5+
## 1.0.2
6+
7+
- Sửa lỗi setter vnp_BankCode.
8+
59
## 1.0.1
610

711
- Hổ trợ thiết lập kiểu mã hóa khi tạo chữ ký dự liệu thông qua parameter `vnp_SecureHashType`.

src/Message/PurchaseRequest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function getVnpBankCode(): ?string
134134
* @param null|string $code
135135
* @return $this
136136
*/
137-
public function setBankCode(?string $code)
137+
public function setVnpBankCode(?string $code)
138138
{
139139
return $this->setParameter('vnp_BankCode', $code);
140140
}

0 commit comments

Comments
 (0)