{"id":14973397,"url":"https://github.com/iamraphson/angularjs-ravepayment","last_synced_at":"2025-10-27T01:30:32.788Z","repository":{"id":57179959,"uuid":"122044782","full_name":"iamraphson/angularjs-ravepayment","owner":"iamraphson","description":"RavePay Angular Plugin for  Angular 1.x","archived":false,"fork":false,"pushed_at":"2019-04-17T15:47:39.000Z","size":64,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T01:24:39.012Z","etag":null,"topics":["angular1","angularjs","flutterwave","payment","ravepay"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/angularjs-ravepayment","language":"HTML","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/iamraphson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-19T10:06:32.000Z","updated_at":"2019-08-12T21:18:20.000Z","dependencies_parsed_at":"2022-09-26T16:51:29.485Z","dependency_job_id":null,"html_url":"https://github.com/iamraphson/angularjs-ravepayment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamraphson%2Fangularjs-ravepayment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamraphson%2Fangularjs-ravepayment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamraphson%2Fangularjs-ravepayment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamraphson%2Fangularjs-ravepayment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamraphson","download_url":"https://codeload.github.com/iamraphson/angularjs-ravepayment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238418213,"owners_count":19468865,"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":["angular1","angularjs","flutterwave","payment","ravepay"],"created_at":"2024-09-24T13:48:39.627Z","updated_at":"2025-10-27T01:30:32.471Z","avatar_url":"https://github.com/iamraphson.png","language":"HTML","readme":"# Rave Payment Component for Angular 1.x\nAn Angular library for RavePay Payment Gateway.\n\n### Demo\n![Demo Image](Demo.png?raw=true \"Demo Image\")\n\n### Get Started\n\nThis AngularJS library provides a wrapper to add RavePay Payment to your AngularJS 1.x applications\n\n###Install\n\n##### NPM\n```\nnpm install angularjs-ravepayment --save\n```\n\n##### Javascript via CDN\n```\n\u003c!-- angular 1.x --\u003e\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js\"\u003e\u003c/script\u003e\n\u003c!-- Angularjs-Ravepayment --\u003e\n\u003cscript src=\"https://unpkg.com/angularjs-ravepayment/dist/angular-rave.min.js\"\u003e\u003c/script\u003e\n\n```\n\n### Usage\n\n```\n\u003cdiv ng-app=\"RaveApp\" ng-controller=\"RaveController\"\u003e\n    \u003crave-pay-button\n        class=\"paymentbtn\"\n        text=\"Pay Me, My Money\"\n        email=\"email\"\n        amount=\"amount\"\n        reference=\"reference\"\n        meta=\"metadata\"\n        callback=\"callback\"\n        close=\"close\"\n        integrity_hash=\"integrityHash\"\n        currency=\"customer.currency\"\n        country=\"customer.country\"\n        customer_firstname=\"customer.firstName\"\n        customer_lastname=\"customer.lastName\"\n        custom_title=\"website.title\"\n        custom_description=\"website.description\"\n        custom_logo=\"website.logo\"\n    \u003e\u003c/rave-pay-button\u003e\n\u003c/div\u003e\n```\n```\n\u003cscript\u003e\n    let raveApp = angular.module(\"RaveApp\", ['ravepayment'])\n\n    raveApp.config(['$raveProvider', function ($raveProvider) {\n        $raveProvider.config({\n            key: \"FLWPUBK-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-X\",\n            isProduction: false\n        })\n    }])\n\n    raveApp.controller(\"RaveController\", function($scope){\n        $scope.amount = 1000 //Naira\n        $scope.customer = {\n            firstName: 'Foo',\n            lastName: 'Bar'\n            currency: 'NGN',\n            country: 'NG'\n        };\n\n        $scope.website = {\n            title: 'website name',\n            description: 'best ecommerce store',\n            logo: 'http://website.com/logo.png'\n        };\n\n        $scope.integrityHash = function() {\n            // retrieve value from server.\n        }\n\n\t    $scope.metadata = [\n\t\t   {\n\t\t        metaname:‘flightid’,\n\t\t        metavalue:‘93849-MK5000’\n           }\n\t\t]\n\n\t    $scope.computeReference = function() {\n            let text = \"\";\n            let possible = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";\n\n            for( let i=0; i \u003c 10; i++ )\n                text += possible.charAt(Math.floor(Math.random() * possible.length));\n\n            return text;\n        };\n\n\t    $scope.reference = $scope.computeReference();\n\n\t    $scope.email = \"rave@flutterwave.com\";\n\t    $scope.callback = function (response) {\n\t\t    console.log(response);\n\t    };\n\n\t    $scope.close = function () {\n\t\t    console.log(\"Payment closed\");\n\t    };\n    })\n\u003c/script\u003e\n```\n\n# Notice\n\n**For complete payment security, kindly use our integrity checksum feature to hash all payment values before passing it to the front end for processing.**\n\n**Please see link to implement checksum: https://flutterwavedevelopers.readme.io/v1.0/docs/checksum**\n\n**Also ensure you verify all transactions before giving value to your customer.**\n\n**Please see link to verify transactions: https://flutterwavedevelopers.readme.io/v1.0/docs/status-check**\n\n[Usage](index.html)\n\nPlease checkout [Rave Documentation](https://flutterwavedevelopers.readme.io/v1.0/reference#introduction) for other available options you can add to the tag\n\n## Deployment\nREMEMBER TO CHANGE THE KEY WHEN DEPLOYING ON A LIVE/PRODUCTION SYSTEM AND CHANGE `isProduction` to `true`\n\n## Contributing\n1. Fork it!\n2. Create your feature branch: `git checkout -b feature-name`\n3. Commit your changes: `git commit -am 'Some commit message'`\n4. Push to the branch: `git push origin feature-name`\n5. Submit a pull request 😉😉\n\n## How can I thank you?\n\nWhy not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or Any Social Media? Spread the word!\n\nDon't forget to [follow me on twitter](https://twitter.com/iamraphson)!\n\nThanks!\nAyeni Olusegun.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamraphson%2Fangularjs-ravepayment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamraphson%2Fangularjs-ravepayment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamraphson%2Fangularjs-ravepayment/lists"}