#takahiro_api

1 messages ¡ Page 1 of 1 (latest)

noble cargoBOT
#

👋 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/1400732765346992228

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

distant rover
#

Hello, do give me a while to take a look!

#

I am seeing in the request, that you deleted the previous subscription item, and then added a new suscription item with the same price id. Is there a reason for doing this?

You could have just updated the existing Subscription item's quantity.

young meteor
#

req_BaHPnWn8NkRFPY I have tried without deleting but still the same

distant rover
#

could you try it like this

      0: {
        id: "si_Se8xYVdXKsPi0x",
        quantity: "100",
      },
    },

without the deleted and price field

young meteor
#

here you go req_KiODhtQ82cdTMt

distant rover
#

Hey, sorry, i just noticed that this is on a subscription schedule. If a subscription has a subscription schedule attached, use the Subscription Schedule API to modify the subscription, instead of the Subscriptions API. Making updates to the subscription itself might have unintended effects on the schedule. You can read more about this here:

You can preview an invoice on a subscription schedule, as documented here . Do try it again using this, and let us know if it works for you

noble cargoBOT
young meteor
#

thanks! will try that,