richo89 Posted July 27, 2009 Share Posted July 27, 2009 I'm currently creating a website for someone where customers need to make payment for the service offered. How can I implement something whereby once customer has entered details of what there selling they then need to make payment, if not the details entered wont be entered into the database and therefore wont go ahead to be sold. My current layout consists that the user enters their details and creates a login. They can then login and enter details of what their selling, I then need the system to take payment. Any ideas would be highly apprecaited. Link to comment https://forums.phpfreaks.com/topic/167589-taking-payment/ Share on other sites More sharing options...
cs.punk Posted July 27, 2009 Share Posted July 27, 2009 I'm currently creating a website for someone where customers need to make payment for the service offered. How can I implement something whereby once customer has entered details of what there selling they then need to make payment, if not the details entered wont be entered into the database and therefore wont go ahead to be sold. My current layout consists that the user enters their details and creates a login. They can then login and enter details of what their selling, I then need the system to take payment. Any ideas would be highly apprecaited. You have not shown any 'code' or anything... You want us to code you something right out of our hats? served in a silver platter? Hmmm Link to comment https://forums.phpfreaks.com/topic/167589-taking-payment/#findComment-883773 Share on other sites More sharing options...
Q Posted July 27, 2009 Share Posted July 27, 2009 I suggest using PayPal API Link to comment https://forums.phpfreaks.com/topic/167589-taking-payment/#findComment-883807 Share on other sites More sharing options...
seventheyejosh Posted July 27, 2009 Share Posted July 27, 2009 You can just store their selling info into a table ( temp_selling ) with a field for their userid. Then when their payment is confirmed, copy the info FROM ( temp_selling ) TO the real one ( selling ). I like this,as it keeps track of what is pending easily. Alternatively, you can add an enum field to your selling table called, say, "pending" with a value of "Yes,No". If their payment is confirmed, update ( selling ) and set pending to no, thus making the item active. Lemme know Link to comment https://forums.phpfreaks.com/topic/167589-taking-payment/#findComment-883830 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.