We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ef9772 commit f4b209bCopy full SHA for f4b209b
src/Message/AbstractRequest.php
@@ -33,6 +33,9 @@ public function initialize(array $parameters = [])
33
$this->setVnpIpAddr(
34
$this->getVnpIpAddr() ?? $this->httpRequest->getClientIp()
35
);
36
+ $this->setVnpCreateDate(
37
+ $this->getVnpCreateDate() ?? date('Ymdhis')
38
+ );
39
40
return $this;
41
}
@@ -93,6 +96,7 @@ public function getVnpCreateDate(): ?string
93
96
94
97
/**
95
98
* Thiết lập thời gian khởi tạo truy vấn đến VNPay.
99
+ * Mặc định sẽ là thời gian hiện tại.
100
*
101
* @param null|string $date
102
* @return $this
0 commit comments