Skip to content

Commit

Permalink
Update Over file
Browse files Browse the repository at this point in the history
  • Loading branch information
JaydeepPatoliya committed Oct 21, 2016
1 parent 595bdc6 commit ad8ef41
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#import <Foundation/Foundation.h>
#import <PassKit/PassKit.h>

@protocol OPAYMockPaymentAuthorizationProcessDelegate<NSObject>
@protocol PaySafeMockPaymentAuthorizationProcessDelegate<NSObject>

@required
/* This method will return the Customer vault Payment token
Expand All @@ -20,7 +20,7 @@

@interface PaySafeMockPaymentAuthorizationProcess : NSObject<PKPaymentAuthorizationViewControllerDelegate>

@property(nonatomic, assign)id<OPAYMockPaymentAuthorizationProcessDelegate>authTestDelegate;
@property(nonatomic, assign)id<PaySafeMockPaymentAuthorizationProcessDelegate>authTestDelegate;

-(BOOL)isHavingStub;

Expand Down
4 changes: 2 additions & 2 deletions iOS_SDK/PaymentKit/PaySafePaymentAuthorizationProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@



@protocol PaysafePaymentAuthorizationProcessDelegate<NSObject>
@protocol PaySafePaymentAuthorizationProcessDelegate <NSObject>

@required
/* This method will return the Customer vault Payment token
Expand Down Expand Up @@ -59,7 +59,7 @@

@interface PaySafePaymentAuthorizationProcess : NSObject <NSURLConnectionDelegate,PKPaymentAuthorizationViewControllerDelegate>

@property(nonatomic, assign)id<PaysafePaymentAuthorizationProcessDelegate>authDelegate;
@property(nonatomic, assign)id<PaySafePaymentAuthorizationProcessDelegate>authDelegate;


- (id)initWithMerchantIdentifier:(NSString*)merchantIdentifier withMerchantID:(NSString*)optiMerchantID withMerchantPwd:(NSString*)optiMerchantPwd withMerchantCountry:(NSString*)merchantCountry withMerchantCurrency:(NSString*)merchantCurrency;
Expand Down
7 changes: 4 additions & 3 deletions iOS_SDK/PaymentKit/PaySafePaymentAuthorizationProcess.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#define SYSTEM_VERSION_LESS_THAN(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] == NSOrderedAscending)


@interface PaySafePaymentAuthorizationProcess () <UIViewControllerTransitioningDelegate,NSURLConnectionDelegate,PKPaymentAuthorizationViewControllerDelegate,PaysafePaymentAuthorizationProcessDelegate>
@interface PaySafePaymentAuthorizationProcess () <UIViewControllerTransitioningDelegate,NSURLConnectionDelegate,PKPaymentAuthorizationViewControllerDelegate,PaySafeMockPaymentAuthorizationProcessDelegate>
{
NSURLConnection *connection;

Expand All @@ -43,7 +43,7 @@ @interface PaySafePaymentAuthorizationProcess () <UIViewControllerTransitioning

@property (retain, nonatomic) IBOutlet UIActivityIndicatorView *activityIndicator;
@property(nonatomic , retain) UIView *optViewController;
@property(nonatomic, retain)PaySafeMockPaymentAuthorizationProcess *testPaymentAuthorizationProcess;
@property(nonatomic, strong) PaySafeMockPaymentAuthorizationProcess *testPaymentAuthorizationProcess;

@end

Expand Down Expand Up @@ -124,7 +124,8 @@ -(void)beginPayment:(UIViewController *)viewController withRequestData:(NSDictio
{
//Call Mock Library
self.testPaymentAuthorizationProcess=[[PaySafeMockPaymentAuthorizationProcess alloc]init];
self.testPaymentAuthorizationProcess.authTestDelegate =self;
self.testPaymentAuthorizationProcess.authTestDelegate = self;


[self.testPaymentAuthorizationProcess showPaymentSummeryView:viewController delgate:self.testPaymentAuthorizationProcess withIdentifier:PaySafeDef.merchantIdentifier withMerchantID:PaySafeDef.merchantUserID withMerchantPwd:PaySafeDef.merchantPassword withMerchantCountry:PaySafeDef.countryCode withMerchantCurrency:PaySafeDef.currencyCode withRequestData:dataDictionary withCartData:cartData];
}
Expand Down

0 comments on commit ad8ef41

Please sign in to comment.