I am using balanced payments(1.1 version) for payment using credit card.
I have followed sample given at https://github.com/balanced/balanced-ios
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.
0 comments:
Post a Comment