Click here to Skip to main content
13,051,404 members (47,912 online)
Rate this:
Please Sign up or sign in to vote.
Hi developer's,

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.


[edit]Email removed - OriginalGriff[/edit]
Posted 17-Feb-13 1:41am
Updated 17-Feb-13 2:23am
OriginalGriff 17-Feb-13 8:23am
Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 8 Mar 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100