flutter_getitpayment 0.1.5 copy "flutter_getitpayment: ^0.1.5" to clipboard
flutter_getitpayment: ^0.1.5 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 #

//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.