FlutterStripePayment class

Constructors

FlutterStripePayment()

Properties

hashCode int
The hash code for this object.
no setterinherited
onCancel ↔ (void Function()?)
Called when user cancels the Payment Method form
getter/setter pair
onError ↔ (dynamic Function(int errorCode, [String errorMessage])?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPaymentMethod() Future<PaymentResponse>
Present the Payment Collection Form
closeApplePaySheet({required bool isSuccess}) Future<void>
confirmPaymentIntent(String clientSecret, String stripePaymentMethodId, double amount, [bool isApplePay = false]) Future<PaymentResponse>
Use to process immediate payments
dispose() → dynamic
getPaymentMethodFromNativePay({required String countryCode, required String currencyCode, required List<PaymentNetwork> paymentNetworks, required String merchantName, bool isPending = false, required List<PaymentItem> paymentItems}) Future
isNativePayAvailable() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preparePaymentSheet({required String merchantDisplayName, required String customerId, required String customerEphemeralKeySecret, required String paymentIntentClientSecret}) Future<bool>
setStripeSettings(String stripePublishableKey, [String? applePayMerchantIdentifier]) Future<void>
Configure the environment with your Stripe Publishable Keys and optional Apple Pay Identifiers
setupPaymentIntent(String clientSecret, String stripePaymentMethodId, [bool isApplePay = false]) Future<PaymentResponse>
Use to setup future payments
showPaymentSheet() Future<PaymentResponse>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited