popekabu / pay_with_paystack

MIT License
9 stars 21 forks source link

Dupplicate Transaction Reference #4

Closed 10terabyte closed 1 year ago

10terabyte commented 1 year ago

Screenshot_1668955971

I used UUid to get reference. so it is unique. I think this module send request multiple times with same reference. please let me know how can I fix this issue. Thank you.

popekabu commented 1 year ago

You cant use UUId because it is a static id, reference Id cannot be used more than once. Rather use a random generated alhpanumeric sequence of string or use DateTime

10terabyte commented 1 year ago

Same issue even I use your code. image this is when start transaction. after 1 second. image

popekabu commented 1 year ago

this should work. Please check to be sure the app is actually being installed and ran afresh

popekabu commented 1 year ago

I would like to close this issue since I haven't heard from @FullStack1106