Payment gateway integration with .NET Core MVC.

Описание к видео Payment gateway integration with .NET Core MVC.

In this video I have created a small application for online payment using .NET Core MVC with RazorPay payment gateway. Hope you like this one.

For reference I have attached the steps that I have followed in this video.
Steps -
1. Create a .Net core application on VS.
2. Add references to your project.(download and install from NuGet Package)
3. Add a controller named Order
4. Create a view for Index.
5. Create a form using razor syntax to enter customer details like name, email, mobile, amount to be paid.
6. Go to model folder and create a model named as EntityOrder.
7. Declare the customer properties like id, name, mobile, email, Amount, transaction ID, OrderId
8. Now create a account in Razor Pay then Generate API Keys from the Razorpay and download the key and secret csv file.
9. Now go to Order Controller create a Action method Called CreateOrder
10. Declare this Property in Controller
[BindProperty]
public EntityOrder _OrderDetails { get; set; }
Link Ref:
----------------------------------
Source code : https://razorpay.com/docs/payments/se...

Test Cards : https://razorpay.com/docs/payments/pa...

11. Go to view right click on order folder and create a view named as Payment .
12. Now go to Order controller and add Payment Verify method

13. Go to view and add a view on Order folder.

RazorPay Account creation take a look :    • How to create account in RazorPay | P...  

Комментарии

Информация по комментариям в разработке