ashinzekene / angular-rave Goto Github PK
View Code? Open in Web Editor NEW๐ต An angular2+ module for integrating payments using the rave gateway
Home Page: https://ashinzekene.github.io/angular-rave
License: MIT License
๐ต An angular2+ module for integrating payments using the rave gateway
Home Page: https://ashinzekene.github.io/angular-rave
License: MIT License
I noticed the callback event is not as effective in catching failing payments as the docs describe, and a scenario you might want to consider is Mobile money payment, e.g. MPesa and MTN Ghana MoMo, as flutterwave returns a pending payment payload, and does not mean a payment failure since the user still has to go input their PIN on their phone, thus eventually letting the web hook tell you it's final status
A suggestion will be to have an explicit callback function for each payment status and currently, the onclose event behaves as a better replacement for specifying the callback event.
I will suggest onclose should listen to the modal close event, as it is the default confirm box is in place for now
Overall, great work.
Hey!
In the documentation, i see a variable payment instance that gets created,
paymentInstance: PaymentInstance;
But in paymentInit,
paymentInit(paymentInstance) {
this.paymentFailure = paymentInstance;
console.log('Payment about to begin', paymentInstance);
}
this.paymentFailure gets set, which is a function, is this correct?
@all-contributors please add @tyronasaurus-rex and @okeyokoro for code
Hi,
Thanks for this awesome repo, I believe there is a mistake with the current documentation where the close handler is not working as expected from documentation. I believe the close handler event in the directive should be onclose
instead of close
. Please advise
Thanks and regards.
I tried Importing "PaymentInstance" it is not a member of what the module exports.
apparently property "autoClose" doesn't event exist on both the component or the directive class.
Can't bind to 'autoClose' since it isn't a known property of 'button'. ("
#raveBtn
angular-rave
[ERROR ->][autoClose]="true"
[raveOptions]="paymentOptions",
(callback)="saveResponse($event)"
"): ng:///OrderDetailsPageModule/OrderDetailsPage.html@82:8
used as <button
#raveBtn
angular-rave
[autoClose]="true"
[raveOptions]="paymentOptions",
(callback)="saveResponse($event)"
(onclose)="paymentCancelled()"
class="raveBtn"
>PAY NOW
Hello,
I just integrated your package and it works fine but the 3 callback functions are not being called, paymentSuccess($event), paymentFailure(), paymentInit().
I am using the angular-rave component.
Hi!
Great plugin. I am using Angular 6 and it's working great so far. Just two questions:
How can I import the live script? Should I just place the reference to it in my index.html? I can see the plugin runs fine without importing anything as it used the sandbox script.
When payment is complete, how can I close the modal just like x.close() in the main documentation.
Thanks!
My specified callback function is not being called even after a successful transaction
Lib version: 2.0.1
Angular version: 9.1.3
@all-contributors please add @tyronasaurus-rex and @okeyokoro for code
Hi,
Please, We would like to use the subaccount flow on this plugin, how can we make that possible, see a link to the documentation that discusses subaccount: https://developer.flutterwave.com/v2.0/docs/split-payment
Hello,
I am using this module with Ionic Capacitor. After successful payment, the payment confirmation is not closed and not redirected to the app.
Here is the final url that didnt close
Write unit tests for angular-rave.directive.ts
. Started something here already
Hi there, the package runs correctly, but the callback and close functions do not work. Kindly see to it
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.