Skip to content

Commit

Permalink
Allow users to pass transRef for bulk payments
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoblanco committed May 23, 2020
1 parent 3f4afb5 commit 1ce884d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Models/BulkBeneficiary.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class BulkBeneficiary {

public $narration;

public $transRef;

protected $iv;
protected $key;

Expand Down Expand Up @@ -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);
}


Expand Down

0 comments on commit 1ce884d

Please sign in to comment.