/yandex-money-sdk-ios

Primary LanguageObjective-CMIT LicenseMIT

This open-source library is deprecated and not supported.

Please use Objective-C Yandex.Money SDK for working with Yandex.Money API.


YandexMoneySDKiOS

Version Platform

Usage

To run the example project; clone the repo, and run pod install from the Example directory first.

Links

Installation

YandexMoneySDKiOS is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "YandexMoneySDKiOS"

Code samples

Example of payment:

NSDictionary *paymentParams = @{@"amount" : @"2", @"phone-number" : @"79088888888"};
    
//Starting payment process
YMACpsController *cpsController = [[YMACpsController alloc] initWithClientId:kClientId patternId:@"phone-topup" andPaymentParams:paymentParams];

[self presentViewController:cpsController animated:YES completion:NULL];

License

YandexMoneySDKiOS is available under the MIT license. See the LICENSE file for more info.