From 12e5b935928ce6a2094561092c9ad6a1402f1cf4 Mon Sep 17 00:00:00 2001 From: Umang Arya Date: Thu, 27 Aug 2020 13:47:15 +0530 Subject: [PATCH] Added BeneficiaryParam from sample app screen --- .../PresentationLayer/PUSAStartScreenVC.m | 7 ++++-- .../StoryBoard/PUSAMainStoryBoard.storyboard | 25 +++++++++++-------- .../Configuration/PUVAConfiguration.m | 1 - 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/PayUNonSeamlessTestApp/SampleApp/PresentationLayer/PUSAStartScreenVC.m b/PayUNonSeamlessTestApp/SampleApp/PresentationLayer/PUSAStartScreenVC.m index cc91fd0..cf18d6a 100755 --- a/PayUNonSeamlessTestApp/SampleApp/PresentationLayer/PUSAStartScreenVC.m +++ b/PayUNonSeamlessTestApp/SampleApp/PresentationLayer/PUSAStartScreenVC.m @@ -43,6 +43,7 @@ @interface PUSAStartScreenVC () @property (weak, nonatomic) IBOutlet UITextField *textFieldSalt; @property (weak, nonatomic) IBOutlet UITextField *textFieldSVAmount; @property (weak, nonatomic) IBOutlet UITextField *textFieldSVEligibility; +@property (weak, nonatomic) IBOutlet UITextField *textFieldBeneficiaryAccountNumber; @property (weak, nonatomic) IBOutlet UIScrollView *startScreenScrollView; - (IBAction)switchButtonForNil:(id)sender; - (IBAction)clickedBtnStart:(id)sender; @@ -93,7 +94,7 @@ -(void)initialSetup{ self.switchForOneTap = (UISwitch *)[self.startScreenScrollView viewWithTag:19]; // self.paymentParam.key = @"0MQaQP";//@"gtKFFx";//@"0MQaQP"; - self.paymentParam.amount = @"10.00"; + self.paymentParam.amount = @"1.00"; self.paymentParam.productInfo = @"Nokia"; self.paymentParam.firstName = @"Ram"; self.paymentParam.email = @"email@testsdk1.com"; @@ -106,6 +107,7 @@ -(void)initialSetup{ self.paymentParam.udf3 = @"u3"; self.paymentParam.udf4 = @"u4"; self.paymentParam.udf5 = @"u5"; + self.paymentParam.beneficiaryAccountNumbers = @"4535665647"; // self.paymentParam.environment = ENVIRONMENT_PRODUCTION; [self setEnvironment:ENVIRONMENT_PRODUCTION]; [self setSalt:@"1b1b0"]; @@ -150,7 +152,7 @@ -(void)initialSetupForViewInput{ self.textFieldUDF5.text = self.paymentParam.udf5; self.textFieldEnvironment.text = self.paymentParam.environment; self.textFieldOfferKey.text = self.paymentParam.offerKey; - + self.textFieldBeneficiaryAccountNumber.text = self.paymentParam.beneficiaryAccountNumbers; } -(void)addPaymentResponseNotofication{ @@ -216,6 +218,7 @@ -(void)setPaymentParamAndStartProcess{ self.paymentParam.udf4 = self.textFieldUDF4.text; self.paymentParam.udf5 = self.textFieldUDF5.text; self.paymentParam.userCredentials = self.textFieldUserCredential.text; + self.paymentParam.beneficiaryAccountNumbers = self.textFieldBeneficiaryAccountNumber.text; // set notify URL if you want to pay through Lazy Pay self.paymentParam.notifyURL= @"https://notifyURL.com"; diff --git a/PayUNonSeamlessTestApp/SampleApp/Resources/StoryBoard/PUSAMainStoryBoard.storyboard b/PayUNonSeamlessTestApp/SampleApp/Resources/StoryBoard/PUSAMainStoryBoard.storyboard index 9e06a9b..fcc8c52 100755 --- a/PayUNonSeamlessTestApp/SampleApp/Resources/StoryBoard/PUSAMainStoryBoard.storyboard +++ b/PayUNonSeamlessTestApp/SampleApp/Resources/StoryBoard/PUSAMainStoryBoard.storyboard @@ -1,9 +1,9 @@ - + - + @@ -363,6 +363,15 @@ + + + + + + + + + @@ -370,20 +379,13 @@ -