Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update process-order.ts

Kiran Ka7f661ac2c09
diff --git a/apps/web/lib/integrations/shopify/process-order.ts b/apps/web/lib/integrations/shopify/process-order.ts
index a8455d81fc..43b7737313 100644
--- a/apps/web/lib/integrations/shopify/process-order.ts
+++ b/apps/web/lib/integrations/shopify/process-order.ts
@@ -17,6 +17,7 @@ export async function processShopifyOrder({
clickId: string | null; // ID of the click event from Shopify pixel
}) {
const { customer: orderCustomer, discount_codes: discountCodes } = order;
+
const sharedData = {
checkoutToken: order.checkout_token,
shopifyCustomerId: orderCustomer?.id,