lpe 0.0.1 copy "lpe: ^0.0.1" to clipboard
lpe: ^0.0.1 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
  • WebView-based Stripe Elements

Installation #

Add to your pubspec.yaml:

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

Usage #

import 'package:lpe/learmond_pay_element.dart';

final result = await StripePaySheet.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 #

  • StripePaySheet.show(...) — Shows the payment sheet and returns a StripePaymentResult.
  • 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