diff --git a/src/Borica/Request.php b/src/Borica/Request.php index 5d86737..20c2dc6 100644 --- a/src/Borica/Request.php +++ b/src/Borica/Request.php @@ -193,6 +193,10 @@ public function reverse($protocolVersion = '1.1') $message .= $this->getLanguage(); $message .= $this->verifyProtocolVersion($protocolVersion) ? $protocolVersion : '1.0'; + if ($protocolVersion != '1.0') { + $message .= $this->getCurrency(); + } + $message = $this->signMessage($message); return "{$this->getGatewayURL()}manageTransaction?eBorica=" . urlencode(base64_encode($message)); @@ -353,4 +357,4 @@ private function validateOrderID($id) throw new LengthException('The order id should be between 1 and 15 symbols.'); } } -} \ No newline at end of file +}