Skip to content

Commit

Permalink
Updated for Xcode 9 Swift 3.2 , crash reported for emi scenario amount.
Browse files Browse the repository at this point in the history
Sudeep.Unnikrishnan committed Oct 7, 2017
1 parent 3ecac08 commit afde76a
Showing 51 changed files with 470 additions and 8 deletions.
Binary file modified Framework/Instamojo.framework/Assets.car
Binary file not shown.
235 changes: 233 additions & 2 deletions Framework/Instamojo.framework/Headers/Instamojo-Swift.h

Large diffs are not rendered by default.

Binary file modified Framework/Instamojo.framework/Instamojo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/Assets.car
Binary file not shown.
235 changes: 233 additions & 2 deletions Instamojo.framework/Headers/Instamojo-Swift.h

Large diffs are not rendered by default.

Binary file modified Instamojo.framework/Instamojo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/InstamojoStoryboard.storyboardc/Info.plist
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/InstamojoStoryboard.storyboardc/juspay.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/Modules/Instamojo.swiftmodule/arm.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/Modules/Instamojo.swiftmodule/arm64.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/Modules/Instamojo.swiftmodule/i386.swiftdoc
Binary file not shown.
Binary file not shown.
Binary file modified Instamojo.framework/Modules/Instamojo.swiftmodule/x86_64.swiftdoc
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Instamojo.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Instamojo"
s.version = "1.0.9"
s.version = "1.0.10"
s.summary = "Instamojo iOS SDK"
s.homepage = "https://www.instamojo.com"
s.license = "LGPL"
4 changes: 2 additions & 2 deletions Instamojo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -650,7 +650,7 @@
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "Instamojo-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
@@ -680,7 +680,7 @@
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
SWIFT_OBJC_BRIDGING_HEADER = "Instamojo-Bridging-Header.h";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 3.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
2 changes: 1 addition & 1 deletion Instamojo/Request.swift
Original file line number Diff line number Diff line change
@@ -334,7 +334,7 @@ public class Request: NSObject {

var params = ["order_id": self.order!.cardOptions.orderID, "merchant_id": self.order!.cardOptions.merchantID, "payment_method_type": "Card", "card_number": self.card!.cardNumber, "name_on_card": self.card!.cardHolderName, "card_exp_month": self.card!.getExpiryMonth(), "card_exp_year": self.card!.getExpiryYear(), "card_security_code": self.card!.cvv, "save_to_locker": self.card!.savedCard ? "true" : "false", "redirect_after_payment": "true", "format": "json"] as [String : Any]

if self.order!.emiOptions != nil {
if self.order!.emiOptions != nil && self.order!.emiOptions.selectedBankCode != nil {
params.updateValue("true", forKey: "is_emi")
params.updateValue(self.order!.emiOptions.selectedBankCode, forKey :"emi_bank")
params.updateValue(self.order!.emiOptions.selectedTenure, forKey: "emi_tenure")

0 comments on commit afde76a

Please sign in to comment.