CollegeApp.UI.RaveBindings
1.8.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package CollegeApp.UI.RaveBindings --version 1.8.3
NuGet\Install-Package CollegeApp.UI.RaveBindings -Version 1.8.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CollegeApp.UI.RaveBindings" Version="1.8.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CollegeApp.UI.RaveBindings --version 1.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CollegeApp.UI.RaveBindings, 1.8.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CollegeApp.UI.RaveBindings as a Cake Addin #addin nuget:?package=CollegeApp.UI.RaveBindings&version=1.8.3 // Install CollegeApp.UI.RaveBindings as a Cake Tool #tool nuget:?package=CollegeApp.UI.RaveBindings&version=1.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CollegeApp.UI.RaveBindings
Easily integrate flutterwave in blazor with no JavaScript needed.
Example usage
using CollegeApp.UI.RaveBindings;
// registering service;
builder.Services.AddServerSideBlazor();
builder.Services.AddPaymentServices(options =>
{
options.AddPaymentOptions(PaymentOptions.MobileMoneyZambia); // can add multiple payment methods
options.Title = "Title to show on the checkout modal";
options.Description = "Description to show on the modal";
options.PublicKey = "Your-Public Key Here";
});
@using CollegeApp.UI.RaveBindings
<CheckoutButton Model="@request"
IconCss="oi oi-credit-card"
OnPaymentCancelled="FailedToPay"
OnPaymentComplete="ProcessPayment">
Pay Now
</CheckoutButton>
@code {
PaymentRequest request = new PaymentRequest
{
Amount = 10,
Currency = "ZMW",
Email = "example@email.com",
Phone ="0960000000",
Customer = "Wisdom Jere",
CustomerId = "1102",
CustomerMac = "JustTesting",
};
void ProcessPayment(PaymentResponse response)
{
//Validate payment and save to db
}
void FailedToPay(string respose)
{
//Do with analytics incase payment was cancelled
}
}
Adding it to your project with nuget
Package Manager
Install-Package CollegeApp.UI.RaveBindings -Version 1.0.0
.NET CLI
dotnet add package CollegeApp.UI.RaveBindings --version 1.0.0
PackageReference
<PackageReference Include="CollegeApp.UI.RaveBindings" Version="1.0.0" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.AspNetCore.Components.Web (>= 3.1.29)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.