Classes to implement Addon Payments HPP pay method in a Objective-C iOS project.
HPPManager *hppManager = [HPPManager new];
hppManager.delegate = self;
hppManager.HPPRequestProducerURL = [NSURL URLWithString:@"PRODUCER_URL"];
hppManager.HPPURL = [NSURL URLWithString:@"ADDONPAYMENTS_PAY_URL"];
hppManager.HPPResponseConsumerURL = @"RESPONSE_URL";
hppManager.merchantId = @"";
hppManager.account = @"";
hppManager.amount = @"";
hppManager.orderId = @"";
hppManager.autoSettleFlag = @"0";
hppManager.currency = @"EUR";
hppManager.cardPaymentButtonText = @"Pay";
hppManager.secretKey = @"";
[self presentViewController:hppManager animated:YES completion:nil];
Helio Martín - helio.martin@icloud.com
RXPiOSObjc is available under the MIT license. See the LICENSE file for more info.