#Pete100
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_AHcw8jR6MSAfz5
Can you try remove subscription_proration_behavior ?
In which API? The create upcoming invoice?
Yes
Sure. Let me try
Still doesn't work:
{
automatic_tax: { enabled: true },
subscription: 'sub_1MdRpXDxQ9GZKzvoaxV4lFw0',
subscription_items: [
{ price: 'price_1Lwj0RDxQ9GZKzvoxOKQjc7z', quantity: 1 },
{ id: 'si_NOEIH5TfthdEvZ', deleted: true }
]
}
subscription status is trialing
Request ID?
req_yMVcq2PVfxjKMs
Hmm, so you are removing the old subscription item and add a new price?
correct
Why not just update the existing subscription item?
it's a different item
so i do remove x add y
my understanding is that trials/payments are at subscription level
OK. I know the problem
I am happy to change the process underlying as long as I can start with a free trial, then allow user to get off free trial before it ends and select a different product/price, in which case I force them to set up payment intent
You set missing_payment_method to "cancel". Since there's no payment method provided for this subscription. The subscription will be canceled when the trial ends and no upcoming invoice will be generated.
correct. what do i do to make it work for above? 👆
Attach a payment method to the subscription.
i do sdo that, but i want to preview the change first for the user
Or change the missing_payment_method to pause or create_invoice
i'll try create_invoice