CollegeApp.UI.RaveBindings
7.0.0
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 7.0.0
NuGet\Install-Package CollegeApp.UI.RaveBindings -Version 7.0.0
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="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CollegeApp.UI.RaveBindings --version 7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CollegeApp.UI.RaveBindings, 7.0.0"
#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=7.0.0 // Install CollegeApp.UI.RaveBindings as a Cake Tool #tool nuget:?package=CollegeApp.UI.RaveBindings&version=7.0.0
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.LogoLocation = "assets/img/logo.png";
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 6.0.3
.NET CLI
dotnet add package CollegeApp.UI.RaveBindings --version 6.0.3
PackageReference
<PackageReference Include="CollegeApp.UI.RaveBindings" Version="6.0.3" />
Sometimes the Flutterwave Backend Server Might be down So You can Haddle exceptions as needed.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.9)
- 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.