Accept payments with Stripe in ASP.NET & ...

Accept payments with Stripe in ASP.NET & C#

Jan 03, 2021

Stripe is one of the most popular Online Payment Processing System.

To get started, first sign up with Stripe which is a very simple process where all you have to provide is a valid email address and a password for your account. https://dashboard.stripe.com/register

Once you sign up and confirm your email address, Stripe provides you with a set of Test API keys. Basically you get a “Publishable API” key and a “Secret API” key.

If you are looking a solution to integrate Stripe’s checkout to your website (ASP.NET Web Forms or ASP.NET Core MVC) that is builded with .Net & C#, look at that demo → techtolia.com/Stripe

With integrating and customizing this application, receive payments from credit or debit cards, Alipay, WeChat Pay, Bancontact, EPS, giropay, iDEAL, Multibanco, Przelewy24, SOFORT, Secure Remote Commerce and Payment Request Button (Apple Pay, Google Pay, Microsoft Pay, and the browser Payment Request API) via Stripe.

The application supports 3D Secure 2 for card payments. Supported Card Brands: Visa — Mastercard — American Express — Discover — Dinners Club — JCB — UnionPay

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.

Before use a Payment Method in Live Mode, it must be activated on the Stripe Dashboard, no need in Test Mode. Supported Payment Methods:

  • WeChat Pay

  • Alipay

  • Bancontact (EUR): Belgium

  • EPS (EUR): Austria

  • iDEAL (EUR): Netherlands

  • Giropay (EUR): Germany

  • Multibanco (EUR): Portugal

  • Przelewy24 (EUR, PLN): Poland

  • SOFORT (EUR): Germany, Austria, Belgium, Spain, Italy, Netherlands

Payment Request Button

Payment Request ButtonVia Payment Request Button, collect payment and address information from customers who use Apple Pay, Google Pay, Microsoft Pay, and the browser Payment Request API (Chrome, Opera, Edge, Safari). To use Apple Pay on Safari, you need to register with Apple all of your web domains that will show an Apple Pay button.

Customers see a “Pay now” button or an Apple Pay button, depending on what their device and browser combination supports. If neither option is available, they don’t see the button. Supporting Apple Pay requires additional steps, but compatible devices automatically support browser-saved cards, Google Pay, and Microsoft Pay.

  • Chrome

  • Chrome Mobile for Android

  • Safari

  • Mobile Safari

  • Microsoft Edge

  • Opera


Stripe — Apple Pay

Stripe — Google Pay
To use Apple Pay on Safari, you need to register with Apple all of your web domains that will show an Apple Pay button. Enable Apple Pay on your Stripe account

Strong Customer Authentication

Strong Customer Authentication (SCA) is a new European regulatory requirement to reduce fraud and make online payments more secure. To accept payments and meet SCA requirements, you need to build additional authentication into your checkout flow.

3D Secure 2 — the new version of the authentication protocol rolling out in 2019 — will be the main method for authenticating online card payments and meeting the new SCA requirements. This new version introduces a better user experience that will help minimise some of the friction that authentication adds into the checkout flow.

The application supports 3D Secure 2

The Payment Intents API that uses Stripe’s SCA logic to apply the right exemption and trigger 3D Secure when necessary.

The application uses the Payment Intents API for card payments

Secure Remote Commerce (New)

Image for post

Goodbye to Amex Express Checkout, Masterpass and Visa Checkout. Those online payment setups are going away.

American Express, Discover, Mastercard and Visa — rolled out Secure Remote Commerce. It’s designed to simplify the online checkout process and further secure your personal information, whether it’s associated with a credit, debit or prepaid card.

SRC is only available to US merchants.

— Purchase for ASP.NET Web Forms on CodeCanyon — Target Framework: .NET Framework 4.7.2 — Language: c#

— Purchase for ASP.NET Core MVC on CodeCanyon — Target Framework: .NET Core — ASP.NET Core 3.1 — Language: c#

https://www.youtube.com/watch?list=PLCaaoDXII1ouzAmww98_P2PAM7cm-PrqU&v=DUzBJ__ZNQY&ab_channel=Techtolia

Enjoy this post?

Buy Techtolia a coffee

More from Techtolia