#ashish_checkout-general
1 messages ยท Page 1 of 1 (latest)
๐ 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/1230188949885161473
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! Have you tried this out yet? I believe you'd get a 404 with a resource_missing error code
No i haven't tested it yet, I just want to understand the docs before i fully implement it. so will it throw an error or just return an error object?
To be specific our API will respond back with a 404 and the response will include an error hash (see https://docs.stripe.com/api/errors)
omg this is what i was looking for thank you!
I have a few more questions if you don't mind. I'll just list them down here.
- I'm creating a subscription plan, do I still need to fulfil orders?
- Do session_ids last forever?
- How can people cancel their subscriptions since im using an embedded checkout? Do i need to provide a seperate page myself for that?
- If someone creates a subscription, cancels, then after a few months make a subscription again, is their customer id the same?
- What do you mean by this? Generally, yes, I'd expect as part of your business you'd need to fulfill order once a subscription has been paid for, but I think I may not be understanding your question
I looked at the docs and saw i must acknowledge that i've fulfilled the order
I can't seem to find the link, let me search it
Or is this not applicable to me since im using embedded checkout?
Are you talking about acknowledging the webhook event? (This section here https://docs.stripe.com/payments/checkout/fulfill-orders#handle-redirect-behaviour)
yes
Im sorry i just saw this
You can ignore the first question, but how about the rest
- Checkout Session IDs last forever (in that you can always retrieve them at any point)
- Yes, you'd need to provide a separate page that you build yourself or you can look into using the customer portal (https://docs.stripe.com/customer-management)
- By default the customer ID would be different. If you want it to be the same you need to add logic that checks for existing customers and passes that ID in when you create the CHeckout Session
Ah that makes sense, thank you so much! I think that's all from me
๐