#mateusz-kuda_api
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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 ?
Yes this is free subscritpion (with promo code for i.e. 3 months)
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
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
Ok thanks, can I have ask one more question related promo codes, or should I use new thread?
Here is fine
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?
But this solution prevents purchase using a promotional code with option "Eligible for first-time order only"
Sorry, not understanding the issue
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
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
Can we modify subscritpion any way?
So creating first one, and then while adding promo code, modifying exising (strill not confirmed) subscription?
Not with status: 'incomplete'