Welcome to the IMEPay Plugin for .NET MAUI repository! Our Plugin provides seamless integration with IMEPay's payment gateway, enabling developers to quickly and securely accept payments in their .NET MAUI applications.
- Easy Integration: Integrate IMEPay'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 IMEPay Plugin in your .NET MAUI project, follow these simple steps:
Installation: Install the IMEPay Plugin NuGet package in your .NET MAUI project.
dotnet add package Plugin.Maui.IMEPayMin --version 0.0.2
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
}
private async void OnPayButtonClicked(object sender, EventArgs e)
{
var result = await IMEPayService.StartPaymentAsync(
userName: "your_username",
password: "your_password",
merchantCode: "merchant_code",
merchantName: "Merchant Name",
merchantUrl: "https://merchanturl.com",
amount: "1000",
referenceId: "order12345",
module: "paymentModule",
environment: APIEnvironment.Production);
if (result.IsSuccess)
{
await DisplayAlert("Success", "Payment Successful!", "OK");
}
else
{
await DisplayAlert("Error", result.Message, "OK");
}
}
}
<PropertyGroup Condition="$(TargetFramework.Contains('-ios')) and '$(Configuration)' == 'Debug'">
<ForceSimulatorX64ArchitectureInIDE>true</ForceSimulatorX64ArchitectureInIDE>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
<BaseOutputPath>..\..\..\..\..\temp\</BaseOutputPath>
</PropertyGroup>
For full version access, please contact us at [email protected]. The price is NRS 2500. Thank you!