Skip to content

Commit d8dfb45

Browse files
[AC][ShopPay]: Ensure Thank You Page is displayed after successful checkout (#330)
fix: remove dismiss on success event
1 parent 040606e commit d8dfb45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/ShopifyAcceleratedCheckouts/Wallets/ShopPay/ShopPayViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ import SwiftUI
108108
@available(iOS 17.0, *)
109109
extension ShopPayViewController: CheckoutDelegate {
110110
func checkoutDidComplete(event _: ShopifyCheckoutSheetKit.CheckoutCompletedEvent) {
111-
checkoutViewController?.dismiss(animated: true)
112111
eventHandlers.checkoutDidComplete?()
113112
}
114113

0 commit comments

Comments
 (0)