diff --git a/Sources/ShopifyCheckout/CheckoutViewController.swift b/Sources/ShopifyCheckout/CheckoutViewController.swift index 2d0b016b..f1cd4e93 100644 --- a/Sources/ShopifyCheckout/CheckoutViewController.swift +++ b/Sources/ShopifyCheckout/CheckoutViewController.swift @@ -116,6 +116,7 @@ class CheckoutViewController: UIViewController, UIAdaptivePresentationController } private func didCancel() { + CheckoutView.invalidate() delegate?.checkoutDidCancel() } }