{"id":21274187,"url":"https://github.com/izzyjere/collegeapp.ui.ravebindings","last_synced_at":"2026-01-27T05:05:05.040Z","repository":{"id":114986849,"uuid":"532398963","full_name":"izzyjere/CollegeApp.UI.RaveBindings","owner":"izzyjere","description":"Blazor Integration Library For Flutterwave Payment Gateway. No JavaScript Required.","archived":false,"fork":false,"pushed_at":"2024-09-10T11:09:00.000Z","size":294,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-10T12:39:40.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/izzyjere.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-03T23:53:46.000Z","updated_at":"2024-09-10T11:09:03.000Z","dependencies_parsed_at":"2024-09-10T12:34:15.567Z","dependency_job_id":"1e554ae1-e565-4deb-b3f6-31c5f149a6e0","html_url":"https://github.com/izzyjere/CollegeApp.UI.RaveBindings","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izzyjere%2FCollegeApp.UI.RaveBindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izzyjere%2FCollegeApp.UI.RaveBindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izzyjere%2FCollegeApp.UI.RaveBindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izzyjere%2FCollegeApp.UI.RaveBindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izzyjere","download_url":"https://codeload.github.com/izzyjere/CollegeApp.UI.RaveBindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225701579,"owners_count":17510559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T09:19:17.736Z","updated_at":"2026-01-27T05:05:00.020Z","avatar_url":"https://github.com/izzyjere.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CollegeApp.UI.RaveBindings\n\nEasily integrate flutterwave in blazor with no JavaScript needed.\n## Example usage\n```csharp\nusing CollegeApp.UI.RaveBindings;\n\n// registering service;\nbuilder.Services.AddServerSideBlazor();\nbuilder.Services.AddPaymentServices(options =\u003e\n{\n    options.AddPaymentOptions(PaymentOptions.MobileMoneyZambia); // can add multiple payment methods\n    options.Title = \"Title to show on the checkout modal\";\n    options.LogoLocation = \"assets/img/logo.png\";\n    options.Description = \"Description to show on the modal\";\n    options.PublicKey = \"Your-Public Key Here\";\n});\n\n```\n```razor\n@using CollegeApp.UI.RaveBindings\n\u003cCheckoutButton Model=\"@request\" \n\t\t\t\tIconCss=\"oi oi-credit-card\" \n\t\t\t\tOnPaymentCancelled=\"FailedToPay\" \n\t\t\t\tOnPaymentComplete=\"ProcessPayment\"\u003e\n\t\t\t\tPay Now\n\u003c/CheckoutButton\u003e\n@code {\n    PaymentRequest request = new PaymentRequest\n        {\n\n            Amount = 10,\n            Currency = \"ZMW\",\n            Email = \"example@email.com\",\n            Phone =\"0960000000\",\n            Customer = \"Wisdom Jere\",\n            CustomerId = \"1102\",\n            CustomerMac = \"JustTesting\",\n\n    };\n    void ProcessPayment(PaymentResponse response)\n    {\n           //Validate payment and save to db\n    }\n    void FailedToPay(string respose)\n    {\n        //Do with analytics incase payment was cancelled\n    }\n}\n```\n## Adding it to your project with nuget\n\n**Package Manager**\n\n```sh\nInstall-Package CollegeApp.UI.RaveBindings -Version 6.0.3\n```\n\n**.NET CLI**\n\n```sh\ndotnet add package CollegeApp.UI.RaveBindings --version 6.0.3\n```\n**PackageReference**\n\n```sh\n\u003cPackageReference Include=\"CollegeApp.UI.RaveBindings\" Version=\"6.0.3\" /\u003e\n```\nSometimes the Flutterwave Backend Server Might be down So You can Haddle exceptions as needed.\n![image](https://github.com/izzyjere/CollegeApp.UI.RaveBindings/assets/46313732/9b752c4d-c7ee-42c3-9cc5-e254cebd1ecf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizzyjere%2Fcollegeapp.ui.ravebindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizzyjere%2Fcollegeapp.ui.ravebindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizzyjere%2Fcollegeapp.ui.ravebindings/lists"}