Skip to content

Commit e76e52f

Browse files
authored
Merge pull request CodingCatDev#388 from CodingCatDev/feature/promo-code-allowed
add promo codes
2 parents f40305a + 6c36bcc commit e76e52f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/main/src/components/user/MembershipCards.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export default function MembershipCards({
4343
);
4444
const docRef = await addDoc(customerRef, {
4545
line_items,
46+
allow_promotion_codes: true,
4647
success_url: window.location.href,
4748
cancel_url: window.location.href,
4849
});

0 commit comments

Comments
 (0)