sberbank_acquiring
Flutter Sberbank Acquiring SDK는 모바일 애플리케이션에 결제를 간편하게 통합할 수 있는 방법입니다.
Flutter Sberbank Acquiring SDK는 모바일 애플리케이션에 결제를 간편하게 통합할 수 있는 방법입니다.
{"sdk":"flutter"}^2.0.1^1.0.0^4.2.1^4.8.1{"sdk":"flutter"}^2.4.4^6.7.0아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
https://raw.githubusercontent.com/MadBrains/Sberbank-Acquiring-SDK-Flutter/HEAD/docs/banner.png https://raw.githubusercontent.com/MadBrains/Sberbank-Acquiring-SDK-Flutter/HEAD/docs/sber_sdk.png
Acquiring SDK allows you to integrate Sberbank Internet Acquiring into mobile applications for iOS and Android platforms.
Add this to your package's pubspec.yaml file:
dependencies:
sberbank_acquiring: <lastles>
To get started with the SDK, you'll need:
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.credential(
userName: userName,
password: password,
isDebugMode: false,
),
);
If you want to use token, use the following constructor:
final SberbankAcquiring acquiring = SberbankAcquiring(
SberbankAcquiringConfig.token(
token: token,
isDebugMode: false,
),
);
If you want to use a proxy, use the following constructor:
final SberbankAcquiring acquiring = SberbankAcquiring(
SberbankAcquiringConfig.proxy(
proxyDomain: 'server.com',
proxyPath: 'api/v1/',
globalHeaders: <String, String>{'auth': 'test'},
mapping: (AcquiringRequest request, bool isDebugMode) {
if(request is RegisterRequest) return ProxyMapping(path: '/register');
return;
}
),
);
The Example is in the corresponding folder