Skip to content

sergeyshaklein/Tinkoff-Acquiring-SDK-Flutter

 
 

Repository files navigation

Flutter Tinkoff Acquiring SDK

Read this in Russian

Acquiring SDK allows you to integrate Tinkoff Internet Acquiring into mobile applications for iOS and Android platforms.

Available API Documentation.

SDK Features

  • Making payments (including recurring payments);
  • Saving customers bank cards;
  • Getting information about customers and saved bank cards;
  • Management of saved bank cards;
  • Integration with online checkouts;

Installing

Add this to your package's pubspec.yaml file:

dependencies:
  tinkoff_acquiring: 2.0.0

Before usage

To get started with the SDK, you'll need:

  • Terminal key - seller's terminal key;
  • Password - terminal password;
  • Public key – public key. Used to encrypt data. Required to integrate your application with Tinkoff Internet acquiring.

These values are issued in your personal account after connecting to Tinkoff Internet Acquiring.

SDK allows you to configure operating mode (debug / prod), by default - debug. The SDK also allows you to configure request proxying, by default all requests go to Tinkoff servers.

To configure the operation mode, set the following parameters:

final TinkoffAcquiring acquiring = TinkoffAcquiring(
  TinkoffAcquiringConfig(
    terminalKey: terminalKey,
    password: password,
    debug: false,
  ),
);

If you want to use a proxy, use the following constructor:

final TinkoffAcquiring acquiring = TinkoffAcquiring(
  TinkoffAcquiringConfig.proxy(
    proxyUrl: 'https://server.com/'
  ),
);

Example

The Example is in the corresponding folder

SDK workflow

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 99.0%
  • Other 1.0%