![Screenshot 2024-02-19 at 19 20 32](https://private-user-images.githubusercontent.com/55045516/306054311-a0336a74-182d-46f2-81d4-de14855d33ef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4OTE0NjYsIm5iZiI6MTcyMzg5MTE2NiwicGF0aCI6Ii81NTA0NTUxNi8zMDYwNTQzMTEtYTAzMzZhNzQtMTgyZC00NmYyLTgxZDQtZGUxNDg1NWQzM2VmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDEwMzkyNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1ZmU2MzJmMGZmNTdlMjhhZDk3MmZlYWQwZjkzNjQzZDMyZTdkZjVhOTA1YjdjMDJmZTkwNTlhY2Q3NzUwMzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wIQ-S0wzzhK9zcpOe3bG_DsBaPSqtm1MUDOw2bw1FXQ)
Welcome to the Razor Payment Plugin for .NET MAUI repository! Our Plugin provides seamless integration with Razorpay's powerful payment gateway, enabling developers to quickly and securely accept payments in their .NET MAUI applications.
- Easy Integration: Integrate Razorpay's payment gateway into your .NET MAUI apps with just a few lines of code.
- Secure Transactions: Ensure secure and encrypted payment transactions for your users.
To start using the Razor Payment Plugin in your .NET MAUI project, follow these simple steps:
Installation: Install the Razor Payment Plugin NuGet package in your .NET MAUI project.
dotnet add package Plugin.Maui.RazorPaymentMin --version 1.1.1
protected override void OnCreate(Bundle? savedInstanceState)
{
base.OnCreate(savedInstanceState);
RazorPayService.Init(this, "rzp_test_xxxxxxxxx"); //Add your Razor Pay Api Key https://dashboard.razorpay.com/app/website-app-settings/api-keys
}
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
var result = base.FinishedLaunching(application, launchOptions);
RazorPayService.Init("rzp_test_xxxxxxxx");//Add your Razor Pay Api Key https://dashboard.razorpay.com/app/website-app-settings/api-keys
return result;
}
string OrderID = "order_NcnXXXXXX";
//In order for Razor Payment to function properly,
//a new order ID must be generated for each successful payment made.
//You can find more information about this process at the following link:
//[RazorPay Public Workspace](https://www.postman.com/razorpaydev/workspace/razorpay-public-workspace/folder/12492020-91450029-1c52-4375-8033-39ca4c2d0a8c).
PaymentDetails paymentDetails = new PaymentDetails
{
Amount = "20000",
Currency = "INR",
Description = "This is just a test",
OrderId = OrderID,
Name = "Samir GC",
Prefill = new PaymentDetails.PrefillDetails
{
Contact = "+97798482345567",
Email = "[email protected]"
}
};
razorPayService.Pay(paymentDetails);
** How to add plugin on .net 8 project ??? ** https://drive.google.com/file/d/1aKybP5vjAinlnGG3IlRyQm4bQcOmT2sf/view?usp=sharing
Please authenticate with your credentials before testing the sample app. To generate an order ID, please refer to this instructional video: link.
Activate UPI Payment on your dashboard For instructions, visit: Razorpay Documentation
Unlock the Full Version Gain access to the entire plugin, free from the evaluation limitations, by supporting our project with a small contribution. Your support acknowledges our hard work and dedication ๐ฅฐ. We suggest trying the evaluation copy before purchasing. Plus, I've made it affordable for all customers. Support us