mercredi 25 février 2015

how to send href to sever for payment processing using balanced payments in iOS

I am using balanced payments(1.1 version) for payment using credit card.


I have followed sample given at http://ift.tt/1l6REDK


iam able to get href from



[balanced createCardWithNumber:[tfCardNumber text]
expirationMonth:[[tfExpMonth text] integerValue]
expirationYear:[[tfExpYear text] integerValue]
onSuccess:^(NSDictionary *responseParams) {
response = responseParams;
[tvResponseView setText:[response description]];
NSLog(@"%@", response);

[self setActivityIndicatorEnabled:NO];
[self setResetButton];
tvResponseView.alpha = 0.0;
[UIView animateWithDuration:0.5 animations:^{
[tvResponseView setHidden:NO];
tvResponseView.alpha = 1.0;
}];
}
onError:^(NSError *error) {
[tvResponseView setText:[response description]];
NSLog(@"%@", [error description]);

[self setActivityIndicatorEnabled:NO];
[self setResetButton];
}
optionalFields:optionalFields];


I want to know how to send href to server and what is the payment process.


Any help or suggestion to proceed.




Aucun commentaire:

Enregistrer un commentaire