#nunu0951_docs
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/1310551171454210050
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nunu0951_docs, 1 hour ago, 30 messages
hi there!
can you share the request ID (req_xxx)? you can find it here https://dashboard.stripe.com/test/logs
As the error message suggests, you won't be able to apply coupon if you want to turn this update into a pending one, if it fails. You either need to change the payment_behavior or remove the coupon.
i need to apply a different coupon when the user upgrades , so need to change the payment_behavior?
what value to be given
What behavior do you want to achieve? The different values are explained here: https://docs.stripe.com/api/subscriptions/update#update_subscription-payment_behavior
Normally if your customer's card is set up correctly you won't need to care about 3DS with Subscriptions, and will be able to modify Subscriptions freely.
ok so can i use default_incomplete
Both allow_incomplete (default) and default_incomplete support SCA/3DS scenarios. I would suggest going with the default value - allow_incomplete.
discounts parameter must be an array. You provided an object.
{
"discounts": {
"coupon": "BFYEAR"
},
"expand": {
"0": "latest_invoice.payment_intent"
},
"items": {
"0": {
"id": "si_RHUXDCZxksATFh",
"plan": "price_1IKzVeEf37nkqkTsVww0sbzZ"
}
},
"payment_behavior": "allow_incomplete",
"proration_behavior": "always_invoice"
}
this is the rwquest
can you give me a sample post data
ok thanks will check