CollegeApp.UI.RaveBindings 6.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package CollegeApp.UI.RaveBindings --version 6.0.2                
NuGet\Install-Package CollegeApp.UI.RaveBindings -Version 6.0.2                
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="6.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CollegeApp.UI.RaveBindings --version 6.0.2                
#r "nuget: CollegeApp.UI.RaveBindings, 6.0.2"                
#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=6.0.2

// Install CollegeApp.UI.RaveBindings as a Cake Tool
#tool nuget:?package=CollegeApp.UI.RaveBindings&version=6.0.2                

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 6.0.2

.NET CLI

dotnet add package CollegeApp.UI.RaveBindings --version 6.0.2

PackageReference

<PackageReference Include="CollegeApp.UI.RaveBindings" Version="6.0.2" />
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.1 181 9/17/2023
7.0.0 113 9/17/2023
6.0.3 383 10/9/2022
6.0.2 389 10/3/2022
6.0.1 387 9/29/2022
6.0.0 408 9/28/2022
1.8.3 410 9/28/2022