Flutterwave B4A Android Library
View attachment 125964
This is a library for easy integration of
Flutterwave with your Android application with
B4A. Use this library in your B4A project.
Summarized flow
- Collect user's details such as email & name
- Initialize the transaction
- Once successful, a prompt will be displayed.
Requirements
- Android SDKv16 (Android 4.1 "Jelly Bean") and above
- JavaObject
Installation & Usage
B4A
Download Flutterwave.jar & Flutterwave.xml and place in your additional libraries folder
Enable the Flutterwave Library in your Libraries Tab
[CODE lang="b4x" title="Assign Paystack Library to a Variable" highlight="2"]Sub Globals
Dim Pay As Flutterwave
End Sub[/CODE]
[CODE lang="b4x" title="Initialize Paystack Library" highlight="3"]Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
Pay.Initialize("Pay","FLWPUBK_TEST-SANDBOXDEMOKEY-X",Me,Activity,True)
End Sub[/CODE]
[CODE lang="b4x" title="Perform a transaction" highlight="2"]Sub Button1_Click
Pay.InitializeTransaction("
[email protected]","0558382XXX","Clxxxx Oxxxx", 1,"test-1234567890","Label","TEST",Pay.CURRENCY_GHS,"")
End Sub
[/CODE]
Demo
Download/Clone
https://github.com/claudeamadu/flutterwave-b4a/tree/master/Demo
View attachment 125965View attachment 125966View attachment 125967View attachment 125968View attachment 125969
Security
If you discover any issues, please email
[email protected].
Contact
For more enquiries and technical questions regarding the B4A Android PaystackSdk, please post on our issue tracker:
https://github.com/claudeamadu/flutterwave-b4a/issues.
Change log
Please see
CHANGELOG for more information what has changed recently.