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 0569cd8 commit a26d0d9Copy full SHA for a26d0d9
src/Provider/AsanPardakhtProvider.php
@@ -232,7 +232,7 @@ public function walletCharge(): JsonResponse|array
232
'mo' => $this->getCellNumber(),
233
'hi' => $this->getParameters('host_id'),
234
'walet' => 5,
235
- 'htran' => $this->getTransaction()->getWalletTransactionId(),
+ 'htran' => $this->getWalletChargeTransactionId(),
236
'hop' => AsanpardakhtStatusEnum::ChargeWallet->value,
237
'htime' => time(),
238
'stime' => time(),
@@ -400,4 +400,9 @@ public function refundWalletPaymentResult(): mixed
400
401
return $result;
402
}
403
+
404
+ private function getWalletChargeTransactionId(): int
405
+ {
406
+ return 900000000000 + time();
407
+ }
408
0 commit comments