pinelabs_native 1.0.0 copy "pinelabs_native: ^1.0.0" to clipboard
pinelabs_native: ^1.0.0 copied to clipboard

Flutter wrapper for the Pine Labs Online iOS and Android SDKs. Provides a unified API for startPayment across both platforms.

pinelabs_native #

Flutter wrapper for the Pine Labs Online iOS and Android SDKs.

Quickstart #

Add the plugin from pub.dev:

dependencies:
  flutter:
    sdk: flutter
  pinelabs_native: ^1.0.0

Then run flutter pub get.

Required host app setup:

  • Android: add JitPack, set minSdk = 26, use AppCompat themes.
  • iOS: set platform :ios, '13.0' in ios/Podfile.

Full integration guide:

  • doc/MERCHANT_FLUTTER_SDK_INTEGRATION_GUIDE.md
  • docs/MERCHANT_INTEGRATION.md
  • docs/TECHNICAL_ARCHITECTURE.md

Start A Payment #

import 'package:pinelabs_native/pinelabs_native.dart';

final sdk = PinelabsFlutterSdk();

final result = await sdk.startPayment(
	const PinelabsPaymentRequest(
		orderToken: 'YOUR_ORDER_TOKEN',
		environment: PinelabsEnvironment.uat,
	),
);

if (result.isSuccess) {
	// Handle success.
}

Available environments:

  • PinelabsEnvironment.uat
  • PinelabsEnvironment.prod
0
likes
140
points
98
downloads

Documentation

API reference

Publisher

verified publisherpinelabsonline.com

Weekly Downloads

Flutter wrapper for the Pine Labs Online iOS and Android SDKs. Provides a unified API for startPayment across both platforms.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on pinelabs_native

Packages that implement pinelabs_native