Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 872 Bytes

File metadata and controls

35 lines (23 loc) · 872 Bytes

RXPiOSObjc

Classes to implement Addon Payments HPP pay method in a Objective-C iOS project.

Sample usage

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];

Author

Helio Martín - helio.martin@icloud.com

License

RXPiOSObjc is available under the MIT license. See the LICENSE file for more info.