Skip to content

Commit

Permalink
Merge pull request #253 from Judopay/release/10.0.1
Browse files Browse the repository at this point in the history
Release/10.0.1
  • Loading branch information
stpopa authored Feb 25, 2020
2 parents ff3efd4 + 6032960 commit 5f688fa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion JudoKitObjC.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'JudoKitObjC'
s.version = '10.0.0'
s.version = '10.0.1'
s.summary = 'Judo Pay Full iOS Client Kit'
s.homepage = 'https://www.judopay.com/'
s.license = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>10.0.0</string>
<string>10.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion Source/JudoKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#import "JudoPaymentMethodsViewController.h"
#import "PaymentMethods.h"

static NSString *__nonnull const JudoKitVersion = @"10.0.0";
static NSString *__nonnull const JudoKitVersion = @"10.0.1";

@class JudoPayViewController;
@class ApplePayConfiguration;
Expand Down
10 changes: 8 additions & 2 deletions Source/iDEAL/IDEALFormViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ @interface IDEALFormViewController ()
@property (nonatomic, strong) NSLayoutConstraint *paymentButtonBottomConstraint;
@property (nonatomic, strong) NSLayoutConstraint *safeAreaViewConstraints;

@property (nonatomic, strong) JPResponse *response;
@property (nonatomic, strong) NSError *error;

@end

@implementation IDEALFormViewController
Expand Down Expand Up @@ -228,7 +231,8 @@ - (void)startPollingStatus {
[self.delayTimer invalidate];
if (error && error.localizedDescription == NSError.judoRequestTimeoutError.localizedDescription) {
[self.transactionStatusView changeStatusTo:IDEALStatusTimeout andSubtitle:nil];
self.completionBlock(self.redirectResponse, NSError.judoRequestTimeoutError);
self.response = self.redirectResponse;
self.error = NSError.judoRequestTimeoutError;
return;
}

Expand All @@ -246,7 +250,8 @@ - (void)startPollingStatus {

[self.transactionStatusView changeStatusTo:orderStatus
andSubtitle:nil];
self.completionBlock(response, error);
self.response = response;
self.error = error;
}];
}

Expand Down Expand Up @@ -583,6 +588,7 @@ - (void)statusView:(TransactionStatusView *)statusView buttonDidTapWithRetry:(BO
return;
}

self.completionBlock(self.response, self.error);
[self dismissViewControllerAnimated:YES completion:nil];
}

Expand Down

0 comments on commit 5f688fa

Please sign in to comment.