yandex_checkout_flutter 1.0.0
yandex_checkout_flutter: ^1.0.0 copied to clipboard
Implementation Yandex Checkout SDK for Flutter
YandexCheckout #
Implementation Yandex Checkout SDK for platforms.
Use official documentation for native lib
Plugin not supported for IOS!
Feature #
Example #
final Result result = await YandexCheckout().startTestCheckout(
PaymentParameters(
amount: Amount(currency: Currency.RUB, value: 20.99),
title: 'Anything',
subTitle: 'Subtitle anything',
clientApplicationKey: 'test_token',
paymentMethodTypes: [
PaymentMethodType.SBERBANK,
PaymentMethodType.BANK_CARD,
PaymentMethodType.GOOGLE_PAY
],
shopId: '000000'),
TestParameters()
);
if(result.hasError)
//If checkout process ended with error
else if(result.hasData)
//Take TokenizationResult result.data
else
//If checkout process cancel