sberbank_acquiring 1.0.1 copy "sberbank_acquiring: ^1.0.1" to clipboard
sberbank_acquiring: ^1.0.1 copied to clipboard

outdated

Flutter Sberbank Acquiring SDK is a simple way to integrate payments into your mobile application.

Flutter Sberbank Acquiring SDK

Read this in Russian

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

Available API Documentation.

SDK Features #

  • Making payments (including recurring payments);
  • Making payments via Apple Pay or Google Pay (including recurring payments);
  • Related payments;
  • Integration with online checkouts;

Installing #

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

dependencies:
  sberbank_acquiring: 1.0.0

Before usage #

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

  • userName - The login of the vendor's service account;
  • password - Password of the vendor account;
  • token – The value that is used to authenticate the merchant when sending requests to the payment gateway. You do not need to pass the userName and password parameters when passing this parameter. To obtain a public key, contact technical support.

These values are issued in your personal account after connecting to Sberbank 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 Sberbank servers.

To configure the operation mode, set the following parameters:

final SberbankAcquiring acquiring = SberbankAcquiring(
  SberbankAcquiringConfig(
    userName: userName,
    password: password,
    debug: false,
  ),
);

If you want to use token, use the following constructor:

final SberbankAcquiring acquiring = SberbankAcquiring(
  SberbankAcquiringConfig.token(
    token: token,
  ),
);

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

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

Example #

The Example is in the corresponding folder

22
likes
40
pub points
62%
popularity

Publisher

verified publishermadbrains.ru

Flutter Sberbank Acquiring SDK is a simple way to integrate payments into your mobile application.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

comparer, flutter, http, json_annotation, meta, webview_flutter

More

Packages that depend on sberbank_acquiring