diff --git a/framework/bigcommerce/api/endpoints/checkout/get-checkout.ts b/framework/bigcommerce/api/endpoints/checkout/get-checkout.ts index 7b308f8e8..e98e6ca54 100644 --- a/framework/bigcommerce/api/endpoints/checkout/get-checkout.ts +++ b/framework/bigcommerce/api/endpoints/checkout/get-checkout.ts @@ -42,7 +42,7 @@ const getCheckout: CheckoutEndpoint['handlers']['getCheckout'] = async ({ store_hash: config.storeHash, customer_id: customerId, channel_id: config.storeChannelId, - redirect_to: data.checkout_url, + redirect_to: data.checkout_url.replace(config.storeUrl, ""), } let token = jwt.sign(payload, config.storeApiClientSecret!, { algorithm: 'HS256',