fixes
This commit is contained in:
1 parent
6586722652
commit
1e7c7bbfbb
65 files changed
+1345
-640
No files matched your search
@@ -76,7 +76,7 @@ export type CreditPack = {
|
||||
name: string;
|
||||
description: string;
|
||||
credits: number;
|
||||
price_usd: number;
|
||||
price_eur: number;
|
||||
ai_products: number;
|
||||
};
|
||||
|
||||
@@ -98,7 +98,7 @@ export async function startCreditPackCheckout(packId: string): Promise<CheckoutR
|
||||
}
|
||||
const marketing = CREDIT_PACKS.find((p) => p.id === pack);
|
||||
const { ecommerce, extra } = buildCreditPackEcommerce(pack, {
|
||||
priceUsd: marketing?.priceUSD,
|
||||
priceEur: marketing?.priceEUR,
|
||||
itemName: marketing?.name
|
||||
});
|
||||
trackEcommerceEvent("begin_checkout", ecommerce, extra);
|
||||
|
||||
Reference in new issue
Block a user