Accept payments with PayPal in ASP.NET & C# - ASP.NET Web Forms || ASP.NET Core MVC

Accept payments with PayPal in ASP.NET & C# - ASP.NET Web Forms || ASP.NET Core MVC

·

4 min read

PayPal is one of the most popular Online Payment Processing System available in more than 200 countries/regions and support 25 currencies.

Once you sign up and confirm your account, PayPal provides you with a set of API keys. Basically you get a “Client Id” key and a “Client Secret” key. developer.paypal.com/home

Logging into the Developer Dashboard to get credentials and create sandbox accounts requires a developer, personal, or business account. Each account provides different levels of access to PayPal functionality. Developer Account: access sandbox, Personal Account: access sandbox+send and receive money, Business Account: access sandbox+send and receive money+go live

If you are looking a solution to integrate PayPal’s checkout to your website that is builded with .Net (ASP.NET Web Forms or ASP.NET Core MVC) & C# Using Orders v2 REST API with PayPal JavaScript SDK, Server-side Integration, look at that demo --> techtolia.com/PayPal

PayPal in ASP.NET & C#

With integrating and customizing the application , receive payments from PayPal, PayPal Credit, credit or debit cards, Bancontact, BLIK, eps, giropay, iDEAL, MyBank, Przelewy24, SEPA-Lastschrift, Sofort, Venmo via PayPal. PayPal auto detects the country from the buyer’s IP geolocation and generates payment options with buttons.

Payment Methods powered by PayPal (over 200 countries and regions):

  • PayPal
  • Credit or debit cards
  • PayPal Credit: US
  • Bancontact: Belgium
  • BLIK: Poland
  • eps: Austria
  • giropay: Germany
  • iDEAL: Netherlands
  • MyBank: Italy
  • Przelewy24: Poland
  • SEPA-Lastschrift: Germany
  • SOFORT: Austria, Belgium, Germany, Italy, Netherlands, Spain
  • Venmo: US (and with US merchants) (on a mobile browser)

Elements are completely customizable. You can style Elements to match the look and feel of your site, providing a seamless checkout experience for your customers.

Full source code is included. -- ASP.NET Web Forms -- Target Framework: .NET Framework 4.7.2 - Language: c# -- ASP.NET Core MVC -- Target Framework: .NET Core – ASP.NET Core 3.1 – Language: c#

Alternative Payment Methods

PayPal Alternative Payment Methods Alternative payment methods allow customers across the globe to pay with their bank accounts, wallets, and other local payment methods. Relevant alternative payment methods are automatically presented with Smart Payment Buttons. For example, a customer in the Netherlands might want to pay using iDEAL, which is used by more than half of consumers in the Netherlands for online purchases, whereas a customer in Belgium on the same website might want to pay using Bancontact, a popular payment method there. Alternative payments transactions display as PayPal transactions in your PayPal account. There is no difference between alternative payment transactions and PayPal transactions and you can issue refunds for these transactions.

Standard Card Fields

PayPal Standard Card Fields Standard Card Fields intelligently present the most relevant credit card payment types to your buyers, automatically. This makes it easier for them to complete their purchase using methods like Visa, Mastercard, Discover, Maestro, and so on. With Standard Card Fields, the card fields for the checkout flow display in-line beneath the Smart Payment Buttons when your buyer selects a credit card. Your buyers can conveniently and seamlessly pay with their credit card anywhere vertical Smart Payment Buttons display.