Hi everyone!

I am developing an accommodation reservation system in ASP.Net. And it's my first project in this area. So my question is how can I implement online payment into my ASP.Net form? So that the users when booking a room should be able to pay for the accommodation online (Visa card, MasterCard etc.)

Any help would be appreciated.

Cheers.

Use paypal. Read this PayPal ASP.NET API

thanks but seems to complicated. any other solutions?

You can use a variety of online merchants for credit card processing. If this website is an extension to an existing company you should contact your bank and find the merchant they use. Paypal is one option but you also have YourPay which was bought out by firstdata: http://www.firstdata.com/yourpay/, and http://www.authorize.net/.

I process transactions with all three currently and they basically work the same on the back end... just a few differences as far as fields. I think you can get better transaction rates from firstdata/authorize.net over PayPal.

thanks but seems to complicated. any other solutions?

There are some pre-packaged shopping cart applications that have eCommerce and merchants APIs built in to them. All of them are complicated but PayPal has the worst API by far. Their API sample is .NET framework 1.1. and doesn't ship with the required assemblies to build the application, and the version of NLogger (i think it was) that they use is so old that if you compile the new version and try to link it then it still fails anway.

commented: I agree. +4

You need to buy that asp.net DLL from bank/credit card company ,etc .

You need to buy that asp.net DLL from bank/credit card company ,etc .

Buy the DLL? They give it away free. They WANT you to have an eCommerce site and process transaction so they can charge you transaction fees....

PayPal integration is very much simple. If you just want to accept payments(direct payment approval) and want to use PayPal website payments pro then it is one function call to accept the payment.

Downlaod the PayPal website payments pro API (.NET) and look for the DoDirectPayment.cs in it.

Checking all the alternatives you are proposing. As soon as I come with the best solution will put the thread solved.
But meanwhile if someone has any other option I would be glad to hear that.

Thank you all guys!

I would sell my services on the form but I think moderators would shoot me :P

If you want to tackle API integration I will guide you through it as long as you start the code and show an effort. It nots too hard code-wise but learning how PayPal works is.

dude i'm developing the same application..

can you explore the details of paypal...

where should i go and how do i do it...

do i need a sandbox account or do i need to have credit card?

help...?

You can use a variety of online merchants for credit card processing. If this website is an extension to an existing company you should contact your bank and find the merchant they use. Paypal is one option but you also have YourPay which was bought out by firstdata: http://www.firstdata.com/yourpay/, and http://www.authorize.net/.

I process transactions with all three currently and they basically work the same on the back end... just a few differences as far as fields. I think you can get better transaction rates from firstdata/authorize.net over PayPal.

dude i'm developing the same application..

can you explore the details of paypal...

where should i go and how do i do it...

do i need a sandbox account or do i need to have credit card?

help...?

sandbox account is enough for development and testing.

You can use this account to create and manage test accounts and their associated email and API credentials with paypal.

No need to have a credit card for this purpose.

To create a sandbox account, visit https://developer.paypal.com/

well i'm paypal....any problem...i'm here..

first read the documentation...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.