Skip to content

Commit

Permalink
Bump version to 3.9.1. Added lazypay merchant in sample app.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipin Aggarwal committed Sep 29, 2017
1 parent e3694e1 commit 57afe3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion PayUNonSeamlessTestApp/SampleApp/Other/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.9</string>
<string>3.9.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ -(void)initialSetup{
self.paymentParam.udf5 = @"u5";
// self.paymentParam.environment = ENVIRONMENT_PRODUCTION;
[self setEnvironment:ENVIRONMENT_PRODUCTION];
[self setSalt:@""];
//It is a security vulnerability to keep salt in the app.
//We are using here for demonstration purpose only. Never do that.
//Keep salt on your server.
[self setSalt:@"1b1b0"];

self.paymentParam.offerKey = @"test123@6622"; //bins@8427,srioffer@8428,cc2@8429,gtkffx@7236

[self initialSetupForViewInput];
Expand All @@ -117,14 +121,14 @@ -(void)initialSetup{
- (void)setEnvironment:(NSString*)env {
self.paymentParam.environment = env;
if ([env isEqualToString:ENVIRONMENT_PRODUCTION]) {
self.paymentParam.key = @"0MQaQP";
self.paymentParam.key = @"smsplus";
} else {
self.paymentParam.key = @"6Te2QS";
self.paymentParam.key = @"gtKFFx";
}
}

-(void)setSalt:(NSString *) salt{
[self.switchForSalt setOn:NO];
[self.switchForSalt setOn:YES];
self.textFieldSalt.hidden = false;

self.textFieldSalt.text = salt;
Expand Down

0 comments on commit 57afe3f

Please sign in to comment.