Skip to content

Commit

Permalink
Remove query parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
markmur committed Apr 23, 2024
1 parent 4449aac commit f6a4b8e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Sources/ShopifyCheckoutSheetKit/CheckoutWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ protocol CheckoutWebViewDelegate: AnyObject {
func checkoutViewDidEmitWebPixelEvent(event: PixelEvent)
}

private let retryQueryParameter = "checkout_sheet_retry"
private let deprecatedReasonHeader = "X-Shopify-API-Deprecated-Reason"
private let checkoutLiquidNotSupportedReason = "checkout_liquid_not_supported"

Expand Down Expand Up @@ -179,12 +178,6 @@ class CheckoutWebView: WKWebView {
request.setValue("prefetch", forHTTPHeaderField: "Sec-Purpose")
}

if isRecovery {
if let urlWithRetryParam = appendQueryParam(to: url, key: retryQueryParameter, value: "1") {
request = URLRequest(url: urlWithRetryParam)
}
}

load(request)
}

Expand Down

0 comments on commit f6a4b8e

Please sign in to comment.