Help with registration design
Webmasters I need your help !
I want to build a registration system and I can't decide what will be the best way of doing it !
*I have a php form that the usr fill in .
*OnSubmit there is the DB record insertion.
*Moving to a page that the usr can choose the lengh of registration time and pay with paypal.
*Return to my site with a "thank you" page.
My Problem :
1. I want to send an email message with the details the user filled in to his address with the stored data in the DB. But after he paid.
2. I want my "thank you" page to present his details .
So .. Should I use a cookie ? to know who he is after he came bake from PP ?
And if so ..then what data to store in this cookie ? and how ?
Any help will be appriciate .. Thx.
Renegade posted this at 02:12 — 15th December 2003.
He has: 3,022 posts
Joined: Oct 2002
IMO using cookies would not be such a great idea. Sessions would be a better choice, that way personal information is destroyed when the user leaves the site.
Busy posted this at 07:46 — 15th December 2003.
He has: 6,151 posts
Joined: May 2001
problem is the session wouldn't transfer the info you need, you could check they came from paypal but it doesn't mean they paid or anything, and paypal being a server server (https) you wouldn't beable to decode the info even if it was possible.
can you use another payment method? 2checkout or something, i believe some of them allow you to use your sites coding, maybe even cookie/sessions
Suzanne posted this at 16:23 — 15th December 2003.
She has: 5,507 posts
Joined: Feb 2000
Paypal does have an IPN service where it sends information to your database/site. You may want to integrate that with a memberid system, and store the sessionid in the memberid and do some fact checking using that?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.