![]() |
unique user id tie in with paypal - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: unique user id tie in with paypal (/showthread.php?tid=72887) |
unique user id tie in with paypal - scatman98 - 02-25-2019 hi guys i have a website with a service on it which works without a login system. i want to charge for it through payment gateway, how do i ensure that each session for the user is unique when multiple users access the same service? example if user A inputs 2+2=?, then website redirects him to payment gateway after which result 4 is shown. but while user A completes his session another user B comes in and wants to know 3+5= ?, say if i have a 100 users simultaneously starting sessions wanting to know their results how do i go about handling them? RE: unique user id tie in with paypal - InsiteFX - 02-25-2019 You could add a session variable using a unique code. Here is a helper function to generate a unique code PHP Code: // ----------------------------------------------------------------------- |