flutter_getitpayment 0.0.8 copy "flutter_getitpayment: ^0.0.8" to clipboard
flutter_getitpayment: ^0.0.8 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",setTestMode: true,
      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 #

This package is built and maintained by Region Designs Inc.

0
likes
0
pub points
42%
popularity

Publisher

unverified uploader

Payment gateway for getit payments

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

asn1lib, encrypt, flutter, http, pointycastle

More

Packages that depend on flutter_getitpayment