#mateusz-kuda_api

1 messages ยท Page 1 of 1 (latest)

keen bloomBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247502520088002653

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

verbal relic
#

do you have an option to confirm transaction only when user will provide credit card details?
What transaction exactly you are referring to ? Isn't a free subscription ?

late path
#

Yes this is free subscritpion (with promo code for i.e. 3 months)

keen bloomBOT
late path
#

So what I wanted to achive is that subscritpion on stripe (even the free one) will be confirmed when user will add credit card from setup intent (for free), or confirm payment intent (for paid one) -> this is how it is working right now

ancient sorrel
#

No, not possible. Any 'free' subscriptions where there is no immediate payment due will always transition to active immediately regardless of whether the intent is confirmed

late path
#

Ok thanks, can I have ask one more question related promo codes, or should I use new thread?

ancient sorrel
#

Here is fine

late path
#

We added option to add promo code, after selecting the product. So we are first creating subscription (1 - req_V6qEu3J9wxkiQl) for selected product, and the user on summary view have possibility to add promo code, and if promo code will be added we are creating new subscritpion (2 - req_rLaITBZ9TdGfq1). But this solution prevents purchase using a promotional code with option "Eligible for first-time order only". Do you have any solution for this?

keen bloomBOT
ancient sorrel
#

But this solution prevents purchase using a promotional code with option "Eligible for first-time order only"
Sorry, not understanding the issue

late path
#

We can user promo code created with option: "Eligible for first-time order only" only for first subscritpion. But in above solution we technicly have 2 subscritpion and promo code is not working

ancient sorrel
#

Yeah, there's no way around that as it is marked as 'used' on the Subscription creation. You'll need to amend your checkout flow to prevent creating the sub until they've entered the code

late path
#

Can we modify subscritpion any way?

#

So creating first one, and then while adding promo code, modifying exising (strill not confirmed) subscription?

ancient sorrel
late path
#

ok thanks then

#

we can close the thread, thank you one more time ๐Ÿ™‚