#david-rios_error
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/1292997013960392756
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello! The error message is accurate, you didn't set it to true as required: PaymentIntents cannot be confirmed with an installment plan unless payment_method_options[card][installments][enabled] is set to true.
Hello! The error message is accurate, you didn't set it to true as required: PaymentIntents cannot be confirmed with an installment plan unless payment_method_options[card][installments][enabled] is set to true.
Here's that parameter in the API reference: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card-installments-enabled
My API integration should just send the installments. From what I undestand this field that the api es showing would be only if I was going to use the installment plans available in Stripe
Either way its always necessary to send this parameter as true ?
Yes, you have to set that to true. You omitted it entirely in your request. You only supplied the plan info, which by itself isn't sufficient.
got it
To be clear, you need to set both enabled and plan inside installments.
And its going to approve the payment ?
Or its going to show me the installment plan
The best way to know what it's going to do is try it in test mode.
Happy to help!