Skip to content

Commit

Permalink
Prevent Cancel when processing Apple Pay transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaRabie committed Dec 11, 2023
1 parent 68ff1d4 commit 2fd3d16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion goSellSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pod::Spec.new do |goSellSDK|
goSellSDK.name = 'goSellSDK'
goSellSDK.summary = 'goSell SDK for iOS'
goSellSDK.requires_arc = true
goSellSDK.version = '2.3.29'
goSellSDK.version = '2.3.30'
goSellSDK.license = { :type => 'MIT', :file => 'LICENSE' }
goSellSDK.author = { 'Tap Payments' => '[email protected]' }
goSellSDK.homepage = 'https://github.com/Tap-Payments/goSellSDK-iOS'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ internal class HeaderNavigatedViewController: BaseViewController, NavigationCont
extension HeaderNavigatedViewController: TapNavigationView.Delegate {

internal func navigationViewCloseButtonClicked(_ navigationView: TapNavigationView) {

self.close()
if !Process.shared.dataManagerInterface.isCallingPaymentAPI && !Process.shared.dataManagerInterface.isChargeOrAuthorizeInProgress {
self.close()
}
}

internal func navigationViewBackButtonClicked(_ navigationView: TapNavigationView) {
Expand Down

0 comments on commit 2fd3d16

Please sign in to comment.