Hi Guys, I am making an application form on which the applicant has to pay through net banking and other payment method,after filling up the application form .when submit button is click it will redirect to the payment gateway. problem is I want the data to be submitted into my database only when payment is made.

There is a different functionality is available in each payment gateway to make payment online. Like i am using merchantinc.com which is one of the best secure and merchant friendly payment gateway that accept credit cards directly on your website for customer convenience and boost sales.