lenco_pay_with_transfer_widget 1.0.0+1-beta.2 copy "lenco_pay_with_transfer_widget: ^1.0.0+1-beta.2" to clipboard
lenco_pay_with_transfer_widget: ^1.0.0+1-beta.2 copied to clipboard

outdated

Lenco Pay With Tranafer Widget

Lenco Banking pay with transfer widget

Features #

generate account numbers and receive payments instantly

Getting started #

Set up an account on https://lenco.co Request for API key

LencoPayWithTransfer(
                    publicKey: 'pub-f2d1b5e54986c6592a7f6f765c505f28137f592051aa8ca0',
                    reference: 'ref${Random().nextInt(1000000)}',//unique, (No space) Only ".", "_", and "-" are allowed
                    email: 'developers@test.com',
                    amount: 10,//minimum amount to accept
                    currency: 'NGN',// Optional
                    accountName: 'Eze Michael', // Optional
                    //On Successful Payment
                    onSuccessful: (Transaction transaction){

                      print(transaction.toJson());

                    },
                    //On Rejected Payment
                    onRejected: (RejectedTransaction transaction){
                      print(transaction.toJson());

                    },
                    //Error messages
                    onErrorMessage: (String message){
                      print(message);


                    },
                  )

Support #

contact developers@lenco.ng for further assistance

TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.