Please use Objective-C Yandex.Money SDK for working with Yandex.Money API.
This open-source library is deprecated and not supported. YandexMoneySDKiOS
Usage
To run the example project; clone the repo, and run pod install
from the Example directory first.
Links
- Yandex.Money API page: Ru, En
- example projects
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.