The USAePay-iOS library allows developers to implement our payment gateway within their iOS apps (iPhone & iPad). The library is designed to give developers the tools necessary to create a highly customized payment applications. Developers can choose to use our pre-made “UIView” that contains all the necessary credit card payment fields, or creating their own credit card payment UIView.

The library supports iOS 7.0+.

How To Get Started

Download: It contains two example projects and the Library itself.

Read theGetting start guide to learn how to add the library into your new/existing projects.

Once you added the library into the project. Use this code snippet to help you get started.

#import "iPhoneViewController.h"
#import "Constants.h"
@implementation iPhoneViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    return self;
- (void)viewDidLoad
    [super viewDidLoad];
    Constants *shareManager = [Constants sharedManager];
     * These are the required information, which need to initialize
     * Before doing any transactions
    shareManager.isProduction = true;
    shareManager.sourceKey = @"253idtPXb6aXvaX3LdSM1SDLIn12ARCI";
    shareManager.pinNum = @"1234";

CreditCardPayment Methods

Method Description Link
verifyCreditCard Verify credit card number
checkExpDate Verify credit card expiration date
processCCPayment Process credit card payment
finishProcessingPayment Delegate method, when payment is finished processing

ueConnection Methods

Method Description Link
isConnected Checks for internet connection
developer/ios.txt · Last modified: 2017/10/02 13:51 by yura

Page Tools