autlantic_checkout 0.1.0 copy "autlantic_checkout: ^0.1.0" to clipboard
autlantic_checkout: ^0.1.0 copied to clipboard

Autlantic Billing mobile Checkout presenter for Flutter. Opens hosted checkoutUrl via ASWebAuthenticationSession (iOS) and Chrome Custom Tabs (Android). Never accepts API keys.

Autlantic

Autlantic Billing — Flutter

USDC payments on Base
Official mobile Checkout presenter. Opens hosted checkout URLs — no API keys in the app.

Docs MIT License Autlantic


Why this SDK #

Checkout presenter only (autlantic_checkout). Your backend creates the session; this plugin opens the hosted checkoutUrl. iOS: ASWebAuthenticationSession · Android: Chrome Custom Tabs. Never embed abk_* keys or webhook secrets in the app. Do not lock checkout in a WebView — WalletConnect needs to hand off to wallet apps.

Install #

Until pub.dev:

dependencies:
  autlantic_checkout:
    git:
      url: https://github.com/Autlantic/payments-sdk.git
      path: sdks/flutter
      ref: sdks/flutter/v0.1.0

Or a local path to sdks/flutter.

Quick start #

import 'package:autlantic_checkout/autlantic_checkout.dart';

final result = await AutlanticCheckout.present(
  checkoutUrl, // from YOUR backend
  returnUrlScheme: 'myapp',
);

switch (result.status) {
  case AutlanticCheckoutStatus.completed:
    // iOS: optional result.callbackUrl
    // Android: Custom Tabs opened; handle deep links, then poll YOUR backend
    break;
  case AutlanticCheckoutStatus.canceled:
    break;
  case AutlanticCheckoutStatus.failed:
    // result.message
    break;
}

Backend contract #

  1. Your server creates a session (Node / Python / Go / PHP / Java / .NET) with successUrl / cancelUrl like myapp://billing/success.
  2. App calls present with the returned checkoutUrl.
  3. After return, poll your access API. Unlock only after a verified webhook on the server.

Sample merchant backend: examples/mobile-checkout (pnpm example:mobile).

Documentation #

Flutter Checkout API reference
Mobile apps Mobile integration guide
iOS · Android Native Checkout
Languages All SDK surfaces
Security Secrets & threat model

Develop #

cd sdks/flutter
flutter analyze

Maintainer publish: flutter pub publish (see ../PUBLISHING.md).

License #

MIT · Operated by Autlantic Limited (UK company no. 17422039).

Part of Autlantic Payments SDK.

0
likes
140
points
--
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Autlantic Billing mobile Checkout presenter for Flutter. Opens hosted checkoutUrl via ASWebAuthenticationSession (iOS) and Chrome Custom Tabs (Android). Never accepts API keys.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#payments #checkout #billing #usdc #autlantic

License

MIT (license)

Dependencies

flutter

More

Packages that depend on autlantic_checkout

Packages that implement autlantic_checkout