paycross_flutter 0.7.4 copy "paycross_flutter: ^0.7.4" to clipboard
paycross_flutter: ^0.7.4 copied to clipboard

PayCross payment SDK for Flutter: card payments, 3-D Secure v2, saved cards, Google Pay on Android and Apple Pay on iOS, wrapping the native Android and iOS SDKs.

paycross_flutter #

PayCross checkout for Flutter. One call presents the native PayCross payment UI — card form, 3-D Secure v2 challenge, saved cards, status polling — and returns one result. No card data ever passes through Dart.

Cards on both platforms, Google Pay on Android, and Apple Pay on iOS.

Install #

dependencies:
  paycross_flutter: ^0.7.4

Then raise both platform minimums: minSdk = 24 in your app's android/app/build.gradle.kts, and platform :ios, '16.0' at the top of your ios/Podfile with the Xcode deployment target to match. Neither default is high enough, and both fail late — at the manifest merge and at pod resolution — rather than at pub get. The Flutter guide linked below covers both, and the Swift Package Manager route.

Quickstart #

await PayCross.configure(environment: PayCrossEnvironment.sandbox);
final result = await PayCross.presentPayment(sessionToken);
switch (result) {
  case PayCrossSuccess(:final transactionId):        // paid; verify server-side
  case PayCrossFailure(:final recovery) when recovery.isRetryable: // retryable
  case PayCrossFailure():                            // declined, terminal
  case PayCrossPending(:final transactionId):        // unknown; reconcile first
  case PayCrossCancelled(:final transactionId):      // the shopper dismissed it
}

The example app is this quickstart as a runnable screen.

Documentation #

Contributing and security #

Report a vulnerability the way SECURITY.md describes, never as a public issue.

License #

MIT. See LICENSE.

0
likes
160
points
558
downloads

Documentation

API reference

Publisher

verified publisherpay-cross.com

Weekly Downloads

PayCross payment SDK for Flutter: card payments, 3-D Secure v2, saved cards, Google Pay on Android and Apple Pay on iOS, wrapping the native Android and iOS SDKs.

Repository (GitHub)
View/report issues

Topics

#payments #checkout #three-ds

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on paycross_flutter

Packages that implement paycross_flutter