#alalva_api
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/1306285487123730564
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ looking at the log for that request, I'm not seeing that it included any data in the request body. So it doesn't look like the request made any changes to the Subscription:
https://dashboard.stripe.com/test/logs/req_Cj24ZsoaXBZlHX
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yeah, i'm not sure why its not creating that request. question on the billing cycle anchor, can i put the date of when this change is supposed to happen or keeping it as "unchanged" is the correct way?
Keeping it unchanged is correct, or omitting it entirely, if you don't want to change when the subscription cycles to the next period. The only other supported value for an update request for that parameter is now, which does not sound like what you're after.
ok i'll keep it as unchanged. i know thats its not the subscription id or the item id as i see that and have compared it to Stripe and as for billing anchor i will leave that as unchanged, proration behavior to false and the default payment method to the users stripe id. I'm not sure why its not working.
I see this is a request being made from Bubble.io, which I unfortunatley don't know how to implement. But if you want to change the Price that a Subscription is subscribed to, then you want to update the items.price field: (or items.price_data if you're creating a Price in an adhoc fashion)
https://docs.stripe.com/api/subscriptions/update#update_subscription-items-price
while also passing the items.id field to ensure you don't create a new item:
https://docs.stripe.com/api/subscriptions/update#update_subscription-items-id