eghlflutter 1.1.5 copy "eghlflutter: ^1.1.5" to clipboard
eghlflutter: ^1.1.5 copied to clipboard

outdated

eGHL Flutter plugin

eGHL Flutter Plugin #

An example of Flutter integration with eGHL SDK

Guidelines linking to SDK #

Refer here on how to link for iOS & Android platform

Usage #


Request Payment #

String paymentId = 'DEMO${new DateTime.now().millisecondsSinceEpoch}';

Map<String, dynamic> payment = {
  'TransactionType': 'SALE',
  'Amount': '1.00',
  'CurrencyCode': 'MYR',
  'PaymentId': paymentId,
  'OrderNumber': paymentId,
  'PaymentDesc': 'Testing Payment',
  'PymtMethod': 'ANY',

  'CustName': 'somebody',
  'CustEmail': 'somebody@someone.com',
  'CustPhone': '0123456789',
  'MerchantReturnURL': 'SDK',   //merchant system's browser redirect
  'MerchantCallBackURL': 'SDK', //server-to-server URL as an additional link to merchant's website

  'ServiceId': 'SIT',
  'Password': 'sit12345',
  'LanguageCode': 'EN',
  'PageTimeout': '600',
  'PaymentGateway': true,      //default is true for staging, false for production
  'EnableCardPage': false,    //default is false
  'TriggerReturnURL': false, //default is false
};

result = await Eghlflutter.executePayment(payment);

Change Log #

1.0.0 #

  • Initial commit of eGHL Flutter Plugin

1.0.1 #

  • Include EnableCardPage param
  • Change PaymentGateway value to boolean

1.0.2 #

  • Removing redundant class in iOS

1.0.3 #

  • Include CardPage for Android and iOS

1.0.4 #

  • Include EnabledCardPage params for Android

1.0.5 #

  • Fix onActivityResult to return status when Payment Cancelled

1.0.6 #

  • Removed folder from .gitignore

1.1.4 #


Android

  • Android update gradle version and dependencies libraries
  • Disable Webview SSLError handling
  • Added execute reversal

iOS

  • Remove deprecated ARCHS armv7, armv7s, i386
  • Fix query token issue
  • Fix iOS 15 and above navigation bar background color skewed
  • Fix NSURLErrorDomain - 999
  • Update iPhones_deployment_target to 11
  • Added loading screen optional green card screen handling
  • Added navigation bar back button optional title handling
  • Added query e-mandate api
  • Added jail broken device validation
  • Added suspicious system app path validation

Both platform

  • Update staging url
  • Added jump app flow
  • Added new parameter paymentType & pmEntry
  • Added optimize recurring flow by skipping card page
0
likes
0
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

eGHL Flutter plugin

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on eghlflutter