I want to know about payment gateway concept.
1. I have ordered some items through online[like ebay,amazon,etc...]
2. after completing checkout, then page go to payment gateway page.
3. If payment gateway successful then successfully ordered in our website.
4. payment gateways not successful then order not created.
How to pass order id in payment gateway page
1. if payment is successful then only order saved in Database
2. Otherwise not saved in Database.
3. give the solution.
Email removed - OriginalGriff[/edit]
Never, ever, accept code from a insecure website to handle anything to do with real money.
You do not know who is giving you the code, you do not know what it does, you do not know that it places the monies correctly into the appropriate account, without passing the details to any third parties.
Only get such code from reputable card transaction service companies (or paypal) - the scope for fraud otherwise is far to large. And remember, you personally could be liable for any monies lost if your action is seen to be negligent - which getting your code from a public forum would most certainly be!
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)