Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/analytics/impact.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export async function trackPaymentConversion(): Promise<void> {
const anonymousID = getCookie('impactAnonymousId') || uuidV4();
const source = getCookie('impactSource');

const IMPACT_COUPON_WHITELIST = ['CNINTERNXT', 'CNINTERNXTL', 'CLOUDOFF', 'SPECIAL'];
const IMPACT_COUPON_WHITELIST = ['CNINTERNXT', 'CNINTERNXTL', 'CLOUDOFF', 'SPECIAL', 'ANTIV'];
const isImpactCoupon = couponCode && IMPACT_COUPON_WHITELIST.includes(couponCode.toUpperCase());

if (isFirstPurchase && ((source && source !== 'direct') || isImpactCoupon)) {
Expand Down
2 changes: 1 addition & 1 deletion src/views/Checkout/components/CheckoutProductCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const CheckoutProductCard = ({
const derivedTax = Math.max(0, Number(totalAmountFormatted) - Number(planAmountWithoutTaxes));
const derivedTaxFormatted = formatPrice(derivedTax);

const isHiddenCoupon = couponCodeData?.codeName === 'SPECIAL';
const isHiddenCoupon = couponCodeData?.codeName === 'SPECIAL' || couponCodeData?.codeName === 'ANTIV';

const discountPercentage =
couponCodeData?.amountOff && couponCodeData?.amountOff < taxesData.amountWithTax
Expand Down
Loading