#cjf_code

1 messages ยท Page 1 of 1 (latest)

scarlet warrenBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1225139528122241094

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

wintry portalBOT
drowsy dagger
#

๐Ÿ‘‹๐Ÿฟ

zinc bone
#

Hello! Are you hitting an error when you make the checkout session creation request? Do you have a request ID or a checkout session ID I can take a closer look at?

drowsy dagger
#

I do not get an error, the discount code just doesn't take effect

#

I'm using the Firebase/Stripe plugin

#

i post this data:

#

but in the logs (req_ozOxeQN2bKk3bU) I don't see that discounts key

#

maybe a bug with the firebase integration?>

zinc bone
#

Yeah my guess is that you're not running the code you think you are (maybe you've changed the wrong file or haven't fully deployed your changes) since it's not coming through in the request params

drowsy dagger
# drowsy dagger

so this should work if it was actually being sent @zinc bone ?

#

This is what's being written to Firestore, it seems the official firebase/stripe plugin doesn't actually support discount codes, is that right?

#

Is there any other way I can add a 30d free trial?

zinc bone
#

Not quite - you'd want the promo_123 ID and not FREETRIAL. But other then that it should work

drowsy dagger
#

ic

zinc bone
#

We don't own the firebase plugin so that'd be somethign you'd have to check with the plugin owners about

drowsy dagger
#

It says it's official, not true?

#

is there another way to add a 30d free trial to my products and bypass this mess? @zinc bone

zinc bone
drowsy dagger
#

ugh, yeah looks like it isn't supported, so no way to bypass?

zinc bone