Skip to main content

payriff 1.0.0-rc.7 copy "payriff: ^1.0.0-rc.7" to clipboard
payriff: ^1.0.0-rc.7 copied to clipboard

Payriff card payments for Flutter: a native card form that pays server-created orders with the publishable key, 3-D Secure in a native sheet and a verified, typed payment result.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'src/home_page.dart';

void main() => runApp(const PayriffExampleApp());

/// The Payriff example: enter an order your backend created, then pay it with
/// the SDK's PayriffPaymentView in a page, a bottom sheet or a popup.
class PayriffExampleApp extends StatelessWidget {
  const PayriffExampleApp({super.key, this.home});

  /// The first screen; tests pass one with their own settings.
  final Widget? home;

  @override
  Widget build(BuildContext context) {
    const Color seed = Color(0xFF4DBDC6);
    return MaterialApp(
      title: 'Payriff Flutter',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(colorSchemeSeed: seed),
      darkTheme: ThemeData(colorSchemeSeed: seed, brightness: Brightness.dark),
      home: home ?? const HomePage(),
    );
  }
}
0
likes
140
points
1.11k
downloads

Documentation

Documentation
API reference

Publisher

verified publisherpayriff.com

Weekly Downloads

Payriff card payments for Flutter: a native card form that pays server-created orders with the publishable key, 3-D Secure in a native sheet and a verified, typed payment result.

Homepage
Repository (GitHub)
View/report issues

Topics

#payments #payriff #card #checkout

License

unknown (license)

Dependencies

flutter, http, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on payriff

Packages that implement payriff