diff --git a/src/Models/BulkBeneficiary.php b/src/Models/BulkBeneficiary.php index 433616b..3196cc8 100644 --- a/src/Models/BulkBeneficiary.php +++ b/src/Models/BulkBeneficiary.php @@ -16,6 +16,8 @@ class BulkBeneficiary { public $narration; + public $transRef; + protected $iv; protected $key; @@ -45,7 +47,7 @@ public function encryptedNarration() { } public function encryptedTransRef() { - return Encryptor::encrypt(rand(), $this->iv, $this->key); + return Encryptor::encrypt($this->transRef, $this->iv, $this->key); }