Last updated:
0 purchases
lenco pay with transfer 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: '[email protected]',
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);
},
)
copied to clipboard
Support #
contact [email protected] for further assistance
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.