lpe 0.0.2 copy "lpe: ^0.0.2" to clipboard
lpe: ^0.0.2 copied to clipboard

Learmond Pay Element - Paysheet built in flutter. Transsposable to any app framework.

LPE (Learmond Pay Element) #

A reusable Flutter package for Stripe payment sheets, providing a simple modal interface for card, bank, Apple Pay, and Google Pay payments.

Features #

  • Stripe Payment Sheet integration
  • Card, US bank, EU bank, Apple Pay, Google Pay support
  • Modal bottom sheet UI
  • Easy API for payment confirmation and result handling context: context,

Installation #

Add to your pubspec.yaml:

dependencies:
  lpe:
    path: ../LPE
  flutter_inappwebview: ^6.0.0

import 'package:lpe/learmond_pay_element.dart';

final result = await LearmondPaySheet.show( context: context, publishableKey: 'pk_test_...', clientSecret: 'pi_...secret...', method: 'card', // or 'us_bank', 'apple_pay', 'google_pay' title: 'Pay $10.00', ); if (result.success) { // Payment succeeded }


## API
- `LearmondPaySheet.show(...)` — Shows the payment sheet and returns a `PaymentResult`.
- Supports custom titles, amounts, and button labels.

## Example
See `example/` for a full integration example.

## License
MIT

## Author
The Learmond Corporation
0
likes
0
points
541
downloads

Publisher

verified publisherthelearmondcorporation.com

Weekly Downloads

Learmond Pay Element - Paysheet built in flutter. Transsposable to any app framework.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, flutter_test

More

Packages that depend on lpe