Skip to content

Commit

Permalink
Closing the checkout screen upon canceling a web based payment
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaRabie committed Oct 25, 2023
1 parent 4a445d3 commit 98f83e7
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 42 deletions.
20 changes: 10 additions & 10 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- CardIODynamic (5.4.1)
- CommonDataModelsKit-iOS (1.0.143):
- CommonDataModelsKit-iOS (1.0.145):
- SwiftyRSA
- TapAdditionsKitV2
- TapCardVlidatorKit-iOS
Expand All @@ -10,9 +10,9 @@ PODS:
- EditableTextInsetsTextFieldV2 (0.0.3):
- TapAdditionsKitV2
- Fabric (1.10.2)
- goSellSDK (2.3.26):
- goSellSDK/Core (= 2.3.26)
- goSellSDK/Core (2.3.26):
- goSellSDK (2.3.27):
- goSellSDK/Core (= 2.3.27)
- goSellSDK/Core (2.3.27):
- CardIODynamic
- EditableTextInsetsTextFieldV2
- SwiftyRSA
Expand All @@ -34,14 +34,14 @@ PODS:
- SwiftyRSA/ObjC (1.7.0)
- TapAdditionsKitV2 (0.0.17):
- TapSwiftFixesV2
- TapApplePayKit-iOS (1.0.20):
- TapApplePayKit-iOS (1.0.21):
- CommonDataModelsKit-iOS
- TapApplicationV2
- TapNetworkKit-iOS
- TapApplicationV2 (0.0.3):
- TapAdditionsKitV2
- TapBundleLocalizationV2 (0.0.3)
- TapCardVlidatorKit-iOS (1.0.21)
- TapCardVlidatorKit-iOS (1.0.24)
- TapEditableViewV2 (1.0.2):
- TapAdditionsKitV2
- TapFontsKitV2 (0.0.5):
Expand Down Expand Up @@ -113,17 +113,17 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CardIODynamic: 4a0d2d0e7b82993ceca67491564934c3475fbe79
CommonDataModelsKit-iOS: 62a6a4120b9a59cc4e76cb949f3070c4aad4012c
CommonDataModelsKit-iOS: 1951f44a3a707c53b71305dfb07abbd9d2d11b54
Crashlytics: 9220f5bc89e7a618df411b4f639389dbfb0e03d2
EditableTextInsetsTextFieldV2: 4734d3376d6b1ebe95afc824da5caa1c37b228a3
Fabric: ea977e3cd9c20425516d3dafd3bf8c941c51223f
goSellSDK: 99e74e2aa09e43319b30c05148a0846df03d24f9
goSellSDK: 707e9157c595aa23fce23612ed34ba9d17413b72
SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6
TapAdditionsKitV2: 0bb217062d4df1db86b339e7693283b293b0ccff
TapApplePayKit-iOS: 7c9c7e75f678283c1334a2e2bf6fd9b94daea9b6
TapApplePayKit-iOS: 7e482f589b15bf86e7c077d225b8499420403ba4
TapApplicationV2: a5e256888515be65654f048605bfb871a5ad53a9
TapBundleLocalizationV2: 282e5a0ebfd08b502ec2ba22dde8da2de7340110
TapCardVlidatorKit-iOS: c7be3b2831dd7f327ae8c4df328eb625653b4232
TapCardVlidatorKit-iOS: 05d3e644dddd6aa52dd95cc85a2c41f7ce0ba2f9
TapEditableViewV2: 53f87bbf98d7599f564e6e5bad1be6c1a5b31d66
TapFontsKitV2: 2b11cd69c4f8c4485376c92a1982387a5184ca13
TapGLKitV2: 5e5857e73e5a516807ec9c388f5c028de7616290
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PODS:
- TapApplicationV2 (0.0.3):
- TapAdditionsKitV2
- TapBundleLocalizationV2 (0.0.3)
- TapCardVlidatorKit-iOS (1.0.21)
- TapCardVlidatorKit-iOS (1.0.24)
- TapEditableViewV2 (1.0.2):
- TapAdditionsKitV2
- TapErrorReportingV2 (0.0.5):
Expand Down Expand Up @@ -98,7 +98,7 @@ SPEC CHECKSUMS:
TapAlertViewControllerV2: ac8bf77da5abffb8fdb2e3657bdb22cce55b8c37
TapApplicationV2: a5e256888515be65654f048605bfb871a5ad53a9
TapBundleLocalizationV2: 282e5a0ebfd08b502ec2ba22dde8da2de7340110
TapCardVlidatorKit-iOS: c7be3b2831dd7f327ae8c4df328eb625653b4232
TapCardVlidatorKit-iOS: 05d3e644dddd6aa52dd95cc85a2c41f7ce0ba2f9
TapEditableViewV2: 53f87bbf98d7599f564e6e5bad1be6c1a5b31d66
TapErrorReportingV2: a4d98c28aaa98843cb49d6cd2fdcba935c329279
TapFontsKitV2: 2b11cd69c4f8c4485376c92a1982387a5184ca13
Expand Down
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.26'
goSellSDK.version = '2.3.27'
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 @@ -94,6 +94,7 @@ internal class WebPaymentViewController: HeaderNavigatedViewController {
APIClient.shared.cancelAllRequests()
Process.shared.dataManagerInterface.paymentCancelled()
contentViewController.cancelLoading()
Process.shared.closePayment(with: .cancelled, fadeAnimation: true, force: true, completion: nil)
}

decision(willCancelPayment)
Expand Down
Loading

0 comments on commit 98f83e7

Please sign in to comment.