L
L
l0gg3r2014-07-11 22:53:02
Objective-C
l0gg3r, 2014-07-11 22:53:02

How can I make a payment using Yandex Money (iOS SDK)?

Purpose:
To make a payment from the user's Yandex account to my Yandex account.

NSDictionary *paymentParams = @{
                                    @"amount_due" : @100.0,
                                    @"to" : @"4100<obfuscated>",
                                    @"identifier_type" : @"phone",
                                    @"comment" : @"some comment",
                                    @"message" : @"some message to receiver",
                                    };
    
YMACpsController *cpsController = [[YMACpsController alloc] initWithClientId:kClientId
                                                                       patternId:@"p2p"
                                                                andPaymentParams:paymentParams];   
[self presentViewController:cpsController animated:YES completion:NULL];

After launch, I get this screen (as you can see the payment from the credit card)
https://cloud.githubusercontent.com/assets/3678344...
Is there any option to make a transfer from the user's ID (and not from the credit card)?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question