#belfigue_best-practices
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/1374426769859411991
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! I'm not entirely sure what your question is here.
Do I have to add mandate_options: {card: {}} to setupIntents.create()?
Is something failing? Are you encountering errors?
No. ChatGPT this field must be added to handle of_session subscription payments
But I don't see any reference to this in Stripe's documentation
Where is it proposing you add this?
to setupIntents.create()
Just so I'm clear:
- you followed the integration guide;
- your test code based on that guide works;
- you asked ChatGPT ... something? and that resulted in you coming here to ask for ... confirmation of ChatGPT's suggestion?
yes
I guess I'll ignore ChatGPT then...
Does Stripe have a non-developer contact form or forum? I'm thinking I should check there. as well before closing this.
LLMs hallucinate, and since we don't seem to have that API parameter, I'm going to guess it got into the good stuff.
That said:
When creating a new Subscription with the API,
...
If no mandate is in place, Stripe automatically attempts to create one even if you don’t pass in the relevant parameters in mandate_options. The customer then needs to authenticate the payment.
Okay. Thanks. Let’s close this
Ok cool - will do. It'll always be here for you for reference, ans you can of course come back any time with any additional/followup questions. 🙂