@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | } |
111 | 111 | if (($this->settings->version??'2')==='2') { |
112 | 112 | $this->invoice->transactionId($body['code']); |
113 | - }else{ |
|
113 | + } else{ |
|
114 | 114 | $this->invoice->transactionId($body['paymentCode']); |
115 | 115 | } |
116 | 116 | |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | 'amount' => $this->invoice->getAmount() / ($this->settings->currency == 'T' ? 1 : 10), // convert to toman |
147 | 147 | 'refId' => $refId, |
148 | 148 | ]; |
149 | - }else{ |
|
149 | + } else{ |
|
150 | 150 | $data = [ |
151 | 151 | 'paymentRefId' => $refId |
152 | 152 | ]; |