Skip to content

Commit

Permalink
Version 3.9. Lazy pay support added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vipin Aggarwal committed Sep 28, 2017
1 parent cb95f4c commit fd01789
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 6 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions PayUIndia-PG-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "PayUIndia-PG-SDK"
s.version = "3.8"
s.version = "3.9"
s.license = "MIT"
s.homepage = "https://github.com/payu-intrepos/iOS-SDK"
s.author = { "PayUbiz" => "contact@payu.in" }
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.description = "iOS PG SDK provides easy payment flow."

s.source = { :git => "https://github.com/payu-intrepos/iOS-SDK.git",
:tag => "v3.8" }
:tag => "v3.9" }
s.documentation_url = "https://github.com/payu-intrepos/Documentations/wiki/8.-iOS-SDK-integration"
s.platform = :ios , "6.0"
s.source_files = "PayU_iOS_CoreSDK/*.h"
Expand Down
4 changes: 3 additions & 1 deletion PayU_iOS_CoreSDK/PayUConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@
#define PARAM_SUBVENTION_AMOUNT @"subvention_amount"
#define PARAM_SUBVENTION_ELIGIBILITY @"subvention_eligibility"
#define PARAM_IS_SUBVENT @"is_subvent"
#define PARAM_NOTIFYURL @"notifyurl"

#define PARAM_DEVICE_TYPE @"device_type"
#define PARAM_INSTRUMENT_TYPE @"instrument_type"
Expand Down Expand Up @@ -282,6 +283,7 @@
#define KEY_DEBITCARD @"debitcard"
#define KEY_CREDITCARD @"creditcard"
#define KEY_PAISAWALLET @"paisawallet"
#define KEY_LAZYPAY @"lazypay"
#define KEY_NO_COST_EMI @"no_cost_emi"
//NetBanking parsing elements
#define KEY_BANK_ID @"bank_id"
Expand Down Expand Up @@ -379,7 +381,7 @@
#define PAYMENT_PG_EMI @"EMI"
#define PAYMENT_PG_NO_COST_EMI @"No Cost EMI"
#define PAYMENT_PG_PAYU_MONEY @"PayU Money"

#define PAYMENT_PG_LAZYPAY @"LazyPay"

// PG Type

Expand Down
3 changes: 3 additions & 0 deletions PayU_iOS_CoreSDK/PayUModelPaymentParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,7 @@
@property (strong, nonatomic) NSString *subventionAmount;
@property (strong, nonatomic) NSString *subventionEligibility;

//This param is for LazyPay
@property (strong, nonatomic) NSString *notifyURL;

@end
2 changes: 1 addition & 1 deletion PayU_iOS_CoreSDK/PayUSDKInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>sdkVersion</key>
<string>3.8</string>
<string>3.9</string>
</dict>
</plist>
2 changes: 2 additions & 0 deletions PayU_iOS_CoreSDK/PayUUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@ typedef void (^completionBlockForWebServiceResponse)(id JSON ,NSString *errorMes

+(BOOL)isKindOfNSDictionary:(id) dict;

+(NSString *)encodeURLString:(NSString *) urlString;

@end
1 change: 1 addition & 0 deletions PayU_iOS_CoreSDK/PayUValidations.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,5 @@

-(NSString *)validateCardNumberForCheckIsDomestic:(NSString *) cardNumber;

-(NSString *)validateLazyPayParams:(PayUModelPaymentParams *) paymentParam;
@end
6 changes: 4 additions & 2 deletions README
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
iOS SDK for PayU version 3.8
iOS SDK for PayU version 3.9

Please refer to the integration document for integrating the SDK with your app.
Please refer to the integration document below for integrating the SDK with your app

https://github.com/payu-intrepos/Documentations/wiki/8.-iOS-SDK-integration
Binary file modified libPayU_iOS_CoreSDK.a
Binary file not shown.

0 comments on commit fd01789

Please sign in to comment.