diff --git a/TradeItIosTicketSDK2/TradeItYahooLauncher.swift b/TradeItIosTicketSDK2/TradeItYahooLauncher.swift index e4514473..167e6c2d 100644 --- a/TradeItIosTicketSDK2/TradeItYahooLauncher.swift +++ b/TradeItIosTicketSDK2/TradeItYahooLauncher.swift @@ -121,6 +121,17 @@ import SafariServices ) } } + + if let cancelOrderViewController = originalViewController?.childViewControllers.last as? TradeItOrdersViewController { + if let originalViewController = originalViewController { + originalViewController.dismiss( + animated: true, + completion: { + cancelOrderViewController.handleCancelOrderSecurityResponse() + } + ) + } + } } public func launchTrading(