Search code examples
c#asp.nete-commercepayment-gatewaycredit-card

How to process payments through cards?


I'm developing a web application, using ASP.net and C#

  • need to provide a functionality through which users can pay through their cards (Credit card, Master card, Visa card, Debit card etc.)

  • how do i process a transaction, means that when user enter payment details and click on pay button,

  • how do i verify that these payment details are valid and money is transferred to merchant account.

I never handle payments before, so where do i start with?


Solution

  • You need a third party company to process the payments. PayPal is popular, FDMS, or talk to your bank to see what solutions they offer. Usually these come with an API document or some code libraries to help you start.

    And be sure to be aware of PCI-DSS security requirements for merchants. They can make your project more complex than you can solve with code. =)