{"repo":"ashinzekene/angular-rave","free":true,"listed":false,"github":"https://github.com/ashinzekene/angular-rave","clone":"git clone https://github.com/ashinzekene/angular-rave.git","description":"💵 An angular2+ module for integrating payments using the rave gateway","language":"TypeScript","stars":23,"topics":["payments","angular","module","transaction","nigeria","flutterwave","gateway","ravepay","rave","money"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"ANGULAR-RAVE Easily intergrate the rave payment gateway in your angular2+ project HOW TO USE You can checkout the demo here 1. Install the module Run this in the root of your angular project 2. Import the module into your project like so where FLWPUBK-XXXXXXXXXXXXXXXXXXX is your public key which can be found on the flutterwave dashboard 3. Implementing Angular-rave There are two option available - The angular-rave component: 2. The angular-rave directive: And then in your component.ts file: Rave Options You can also pass in an object containing your rave options like so And then you can import the RaveOptions class for help in typing And then in the template Rave Key Specificity Also, you can pass in a key in the component and the directive, in such situation, this key is given a higher preference over the global forRoot key. For example, if you have this is your module file and this in your component Then FLWPUBK-2000 would be used instead NOTE: - When using the component, the rave's payment popup shows once the component is rendered while using the directive the popup shows on click - Always generate a sensible unique reference for every transaction (unlike what I did up there 😉) - After successful payment always perform server verification OPTIONS Name Type Required Default Value Description ------------------------- --------------------------- ------------------- :---------------: :-------------------------------------------------- public key string true - Merchant publi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ashinzekene","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ashinzekene/angular-rave/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}