#jacob_api

1 messages · Page 1 of 1 (latest)

harsh jettyBOT
#

👋 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/1296932960288636938

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lilac fog
#

Is there a way I could include more than one? Why does the api not support this?

neat sage
#

I was able to confirm that this is not supported on Checkout today. Each session can only have a single discount.

#

As a work around, I would recommend that you sum up the discount and offer one discount.

lilac fog
#

Each discount is mapped to a metered product... not really something I can sum up

neat sage
#

Ah! Makes sense

#

I've shared your feedback with the team

lilac fog
#

So I can stack coupons to a subscription, but not to a checkout session?

Could I update the subscription after checkout is complete? Seems like a weird approach

neat sage
#

That is correct

#

Hmm, no

lilac fog
neat sage
#

Yeap! There is not a timeline I can share with you but do know that the product owning team is aware of this limitation.

lilac fog
#

So you said no, I could not attach coupons after the subscription is created?

neat sage
#

have you tested this? Does it work?

lilac fog
#

Was able to do it from the Dashboard just now. Let me try via API

#

Yes, was able to use the stripe shell to run subscription update

neat sage
#

I am also testing this, hang tight.

#

Yeah, I still can edit it:

#

You can only upadate it after the session is compelete. Otherwise, you can't:

For Stripe Checkout integrations, you can’t update the subscription or its invoice if the session’s subscription is incomplete. You can listen to the checkout.session.completed webhook to make the update after the session has completed.

#

@lilac fog I'm closing the channel but I hope the above was helpful.

lilac fog
#

Oh wait

neat sage
#

I just re-opened the thread as you said 'wait'

lilac fog
#

Thank you haha, just reading now! Want to check if I have any questions

#

looks like the link you sent might be internal? corp.strip?

#

You can listen to the checkout.session.completed webhook to make the update after the session has completed.

Makes sense! This is what I was thinking of doing as a workaround for now.

neat sage
#

yes, you're right.

#

Yeah, since that change is coming I would not rely on that.

#

Sounds good!

#

Going to close this thread now, have a great weekend.

lilac fog
#

What change?

#

Oh the fix to the bug I reported?

neat sage
#

No, the fact that you can ony update subscription's after the Checkout is complete.

lilac fog
#

Sorry not sure I fully understand what you're recommending

neat sage
#

The above is not a bug, rather a product decision.

#

You can listen to the checkout.session.completed webhook to make the update after the session has completed.

#

That is the final work around here