B4A Library Flutterwave B4A Android Library

Flutterwave B4A Android Library​

flutterwave-logo-vector.png

This is a library for easy integration of Flutterwave with your Android application with B4A. Use this library in your B4A project.

Summarized flow​

  1. Collect user's details such as email & name
  2. Initialize the transaction
  3. 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​


Assign Paystack Library to a Variable:
Sub Globals
    Dim Pay As Flutterwave
End Sub

Initialize Paystack Library:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("Layout")
Pay.Initialize("Pay","FLWPUBK_TEST-SANDBOXDEMOKEY-X",Me,Activity,True)
End Sub

Perform a transaction:
Sub Button1_Click
    Pay.InitializeTransaction("obirixxxxxx@gmail.com","0558382XXX","Clxxxx Oxxxx", 1,"test-1234567890","Label","TEST",Pay.CURRENCY_GHS,"")
End Sub

Demo​

Download/Clone https://github.com/claudeamadu/flutterwave-b4a/tree/master/Demo
phone0.jpeg
phone1.jpeg
phone2.jpeg
phone3.jpeg
phone4.jpeg


Security​

If you discover any issues, please email obiriclaude@gmail.com.

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.
 

Attachments

  • flutterwave-b4a-1.25.rar
    51.3 KB · Views: 111

Claude Obiri Amadu

Member
Licensed User
It's a bit unfortunate that Flutterwave appears to based in Nigeria, home for hundreds of princes who send emails requesting the use of your bank account to liberate millions of pounds if only you pay them a share up front!
its unfortunate yeah
But as requested on my Paystack B4A Library I've done the Flutterwave library anyway 🙂
 

agraham

Expert
Licensed User
Longtime User
Seriously it looks like a very convenient way to take small numbers of payments without the complications of setting up a merchant account with one of the majors. Though how it compares to some of the others also offering simple payment services I don't know as I have no need for such services.
 

Mashiane

Expert
Licensed User
Longtime User
It's a bit unfortunate that Flutterwave appears to based in Nigeria, home for hundreds of princes who send emails requesting the use of your bank account to liberate millions of pounds if only you pay them a share up front!
IMHO I don't think this comment is necessary here. It's typecasting and and and...

@Claude Obiri Amadu , you did a brilliant job man! Congratulations.
 

vecino

Well-Known Member
Licensed User
Longtime User
It's called humour over here, but perhaps it doesn't translate well.
For those of us who don't know English, using the translator (DeepL Translate) it was not clear to me whether it was a joke or not.
Now it is clear that it was a joke :)
 

agraham

Expert
Licensed User
Longtime User
I don't think this comment is necessary here. It's typecasting
It occurs to me that perhaps you have never received a "Nigerian prince" scam email. It was big here in the UK a few years ago and I assumed its mention would have universal resonance - perhaps not. Sorry for any offence.
 

Claude Obiri Amadu

Member
Licensed User
I kept getting "Failed" response when i use live KEY...... I have changed the key but still
Here's a demo using live key. Unfortunately I don't have enough balance.
Make sure you have Internet connection and java object ticked
 
Top