Skip to content

Commit 9f5d113

Browse files
committed
fixed Pasargad implementation
1 parent 7d9e67a commit 9f5d113

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Adapter/Pasargad.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,24 @@ protected function getInquiryUrl()
195195
return $this->testCheckTransactionUrl;
196196
}
197197
}
198+
199+
/**
200+
* @return bool
201+
*/
202+
public function canContinueWithCallbackParameters()
203+
{
204+
if (!empty($this->tref)) {
205+
return true;
206+
}
207+
return false;
208+
}
209+
210+
211+
public function getGatewayReferenceId()
212+
{
213+
$this->checkRequiredParameters([
214+
'tref',
215+
]);
216+
return $this->tref;
217+
}
198218
}

0 commit comments

Comments
 (0)