Closed dreigningking closed 4 years ago
i am having the same error trying to set up payment on laravel 5.8
I solved it by creating a unique transaction reference of my own, using the date & time, which is unlikely to ever be a duplicate.
You should try that
On Fri, Jan 24, 2020, 12:53 ALLI BAZEET DAMOLA notifications@github.com wrote:
i am having the same error trying to set up payment on laravel 5.8
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/unicodeveloper/laravel-paystack/issues/89?email_source=notifications&email_token=AEVMH3X3I4JJIEPMF4TIKA3Q7LJFLA5CNFSM4JXCMZBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ2R5UI#issuecomment-578100945, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVMH3TJXTDKIMLCETCBXOTQ7LJFLANCNFSM4JXCMZBA .
I want to believe this is the line that produces the transaction reference..![image](https://user-images.githubusercontent.com/19579886/70360189-0eb65e00-187e-11ea-88e8-14a1b049e931.png)
<input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}}
I got this error today.