#alalva_api

1 messages ยท Page 1 of 1 (latest)

unreal capeBOT
#

๐Ÿ‘‹ 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.

meager oracleBOT
grim stirrup
wooden grail
#

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?

grim stirrup
#

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.

wooden grail
#

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.

grim stirrup
#

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