diff --git a/packages/app-store/_utils/getEventTypeAppData.ts b/packages/app-store/_utils/getEventTypeAppData.ts index e556e1ac6c..fed3e225d3 100644 --- a/packages/app-store/_utils/getEventTypeAppData.ts +++ b/packages/app-store/_utils/getEventTypeAppData.ts @@ -19,10 +19,10 @@ export const getEventTypeAppData = ( ? { ...appMetadata, // We should favor eventType's price and currency over appMetadata's price and currency - price: eventType.price || appMetadata.price, - currency: eventType.currency || appMetadata.currency, + price: eventType.price || appMetadata.price || null, + currency: eventType.currency || appMetadata.currency || null, // trackingId is legacy way to store value for TRACKING_ID. So, we need to support both. - TRACKING_ID: appMetadata.TRACKING_ID || appMetadata.trackingId, + TRACKING_ID: appMetadata.TRACKING_ID || appMetadata.trackingId || null, } : null; }