lenco_pay_with_transfer_widget 1.0.0+1-beta.3 lenco_pay_with_transfer_widget: ^1.0.0+1-beta.3 copied to clipboard
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
Example #
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