Skip to content

saitbnzl/flutter_paycards

Repository files navigation

flutter_paycards

pub package

This is a Flutter plugin for PayCards SDK.

Work in progress ⏳

*This plugin requires AndroidX migration in Android.

Usage

import 'package:flutter_paycards/flutter_paycards.dart';

Map<dynamic, dynamic> results = await FlutterPaycards.startRecognizer(cancelLabel: 'Cancel');

cancelLabel sets the label for the cancel button on iOS.

The map returned from startRecognizer() will have below key/values:

Key Type
cardHolderName String
cardNumber String
redactedCardNumber String
expiryMonth int
expiryYear int
cvv String
postalCode String