pinelabs_native 0.0.1 copy "pinelabs_native: ^0.0.1" to clipboard
pinelabs_native: ^0.0.1 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 Git:

dependencies:
	pinelabs_native:
		git:
			url: https://github.com/naman-pandey_pinegit/pinelabs_native.git
			ref: v0.0.1

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:

  • README.md
  • docs/MERCHANT_INTEGRATION.md
  • docs/RELEASE_NOTES_v0.0.1.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