Skip to content

Commit 6a6c239

Browse files
author
Aboozar Ghaffari
authored
Merge pull request #27 from imansarhaddi/patch-2
Fix type hint in setting Gateway Reference ID
2 parents 6b4ed24 + b0c5e17 commit 6a6c239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapter/Zarinpal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected function verifyTransaction(): bool
147147

148148
if ($response->Status == 100) {
149149
$this->getTransaction()->setVerified();
150-
$this->getTransaction()->setReferenceId($response->RefID); // update transaction reference id
150+
$this->getTransaction()->setReferenceId((string)$response->RefID); // update transaction reference id
151151

152152
return true;
153153
} else {

0 commit comments

Comments
 (0)