Open nelwa opened 12 months ago
Hi there!
Replace
this code
$this->setReference('REF-' . ($this->data['reference'] ?? Text::uniqueStr()));
with
this
$this->setReference($this->data['reference'] ?? 'REF-' . uniqid());
Thank you for the reply @ewudo
Hi,
When using the library I get this exception:
Exception: Call to undefined method MatscodePaystackUtilityText::uniqueStr()
/vendor/matscode/paystack-php-sdk/src/Resources/Transaction.php LINE: 27
Any thoughts?