ashinzekene / angular4-paystack

💵 An angular2+ module for paystack transactions
https://ashinzekene.github.io/angular4-paystack/
MIT License
59 stars 37 forks source link

New Angular PayStack 3.0 #22

Closed skemuel007 closed 4 years ago

skemuel007 commented 4 years ago

I implemented the new paystack 3.0 in my project. Using the test key, but your callback function does not return any reference. It may interest you to know that test payments are successful, email sent but the callback function returns nothing. <button angular4-paystack [email]="applicant.email" [amount]="5000000" [ref]="reference" [key]="'pktest****" [class]="'btn btn-primary'" (paymentInit)="paymentInit($event)" (close)="paymentCancel()" (callback)="paymentDone($event)" class="btn btn-primary"> Pay with PayStack paymentDone(ref: any) { console.log(ref); } Note: I starred the test key above on purpose Please I need help

ashinzekene commented 4 years ago

Please verify you used it the right way

https://codesandbox.io/s/gallant-kirch-5qgz2

ashinzekene commented 4 years ago

If you still have issues you can comment under this