unicodeveloper / laravel-paystack

:credit_card: :package: :moneybag: Laravel 6, 7, 8, 9, 10 and 11 Package for Paystack
https://paystack.co
MIT License
597 stars 310 forks source link

Duplicate transaction reference #89

Closed dreigningking closed 4 years ago

dreigningking commented 4 years ago

I want to believe this is the line that produces the transaction reference.. <input type="hidden" name="reference" value="{{ Paystack::genTranxRef() }}"> {{-- required --}} I got this error today. image

Bazzly commented 4 years ago

i am having the same error trying to set up payment on laravel 5.8

dreigningking commented 4 years ago

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 .