Skip to content

Commit 6c36bcc

Browse files
committed
add promo codes
1 parent f40305a commit 6c36bcc

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)