Allow and charge a credit card upon request

I am working on an e-commerce application using asp.net MVC from C #.

I need to authorize users who sign up with an application using a credit card.

1). When the user signs up, I need to get credit card details and authorize the card through Paypal or Authorize.net without saving credit card details other than subscription ID or authorization code.

2). And whenever a user buys a product, I need to charge the card with the data provided during registration.

Is there any sample code for Paypal and Authorize.net. please suggest

+2


source to share


1 answer


Both Paypal and Authorize.net have many coding examples including at least one C # / ASP.NET example. Visit PayPal or Authorize.net and go to the Developer Center. (Both links in the previous sentence point to the vendor's specified developer center.)



Where I work we have built many e-commerce sites for clients and Authorize.net is our de facto standard for credit card processing. One solid benefit to using them is that you never need to store or even know a customer's credit card information. This is very good as it helps to protect you and your client from potential legal exposure due to data compromise. (Caveat: I am not a lawyer, and this is not legal advice.)

+2


source







All Articles