flutter_getitpayment 0.0.2 flutter_getitpayment: ^0.0.2 copied to clipboard
Payment gateway for getit payments
GetIt Payments is a payment gateway which allows businesses to collect payment from their website or mobile app with ease. This package ensure this process is secure and easy. Currently, GetIt Payments is only available in St Lucia.
Features #
- RSA encryption
- Payment transactions
- Easy setup
Getting started #
- Setup your Getit Payments account first.
- Get your public key and company Id from settings.
Usage #
TODO: Include short and useful examples for package users. Add longer examples
to /example
folder.
//first initialize package
void main() async{
GetItPayments.initialize(companyID: "YOURS_HERE",
publicKeySTRING: "-----BEGIN RSA PUBLIC KEY-----YOUR_PUBLIC_KEY-----END RSA PUBLIC KEY-----");
runApp(const MyApp());
}
//then use where necessary:
ServerResponse? sR = await getItPayments.startTransaction(amountToPay: 200, currency: "XCD", context: context);
if(sR == null){
print("Nothing there");
}else{
print("status : "+sR.status.toString());
print("message : "+sR.msg.toString());
}
Additional information #
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.