sumup_sdk_wrapper 0.0.5 copy "sumup_sdk_wrapper: ^0.0.5" to clipboard
sumup_sdk_wrapper: ^0.0.5 copied to clipboard

discontinuedreplaced by: sumup
PlatformAndroid

Flutter wrapper to use the latest SumUp SDK. Connect to a SumUp terminal, login and accept card payments on Android.

sumup_sdk_wrapper #

Currently not maintained, as the original Project was updated. Please use sumup instead.

Flutter wrapper to use the latest SumUp SDK. Based on sumup.

Connect to a SumUp terminal, login and accept card payments on Android.

Prerequisites #

  1. Registered for a merchant account via SumUp's country websites (or received a test account).
  2. Received SumUp card terminal: Air, Air Lite, PIN+ terminal, Chip & Signature reader, SumUp Air Register, Solo or Solo Lite (Solo and Solo Lite are currently in beta).
  3. Requested an Affiliate (Access) Key and registered your application ID via SumUp Dashboard for Developers.
  4. Android minSdkVersion 23 or higher.

Installing #

Add sumup_sdk_wrapper to your pubspec.yaml:

dependencies:
  sumup_sdk_wrapper:

Import sumup:

import 'package:sumup_sdk_wrapper/sumup_sdk_wrapper.dart';

Getting Started #

Init SumUp SDK:

SumupSdkWrapper.init(affiliateKey);

Login:

SumupSdkWrapper.login();

Or login with token:

SumupSdkWrapper.loginWithToken(token);

Choose your preferred terminal:

SumupSdkWrapper.openSettings();

Prepare terminal for checkout:

SumupSdkWrapper.prepareForCheckout();

Complete a transaction:

var payment = SumupPayment(
    title: 'Test payment',
    total: 1.2,
    currency: 'EUR',
    foreignTransactionID: '',
    saleItemsCount: 0,
    skipSuccessScreen: false,
    tip: .0,
);

var request = SumupPaymentRequest(payment);

SumupSdkWrapper.checkout(request);

Available APIs #

SumupSdkWrapper.init(affiliateKey);

SumupSdkWrapper.login();

SumupSdkWrapper.isLoggedIn;

SumupSdkWrapper.merchant;

SumupSdkWrapper.openSettings();

SumupSdkWrapper.prepareForCheckout();

SumupSdkWrapper.checkout(request);

SumupSdkWrapper.logout();

// iOS only
SumupSdkWrapper.isCheckoutInProgress;

0
likes
160
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter wrapper to use the latest SumUp SDK. Connect to a SumUp terminal, login and accept card payments on Android.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on sumup_sdk_wrapper

Packages that implement sumup_sdk_wrapper