#voidy_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/1280578989194215447
đ 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.
- voidy_subscription-items, 10 minutes ago, 8 messages
I have created the price with custom amount for every checkout sessions.
The amount can be custom, that is why i create the price everytime i create a checkout session.
You would need to lookup if you have a price for the amount you're wanting to use, then pass that Price ID into your Checkout Session creation call instead of using price_data to create a new Price
oh alright,
i can add the amount as lookup value, and fetch the existing price if any
Yup, exactly
thanks buddy
Sure thing!
One question,
When I try to add two subscription items when creating a subscription.
Subscription 1 for 1000$ per month and Subscription 2 for 2000$ per month, both are recurring flat rate.
Only the subscription 1 is attached as the subscription item, the 2nd one is not attached to the subscription.
although the invoice is for 3000$
these are from the same subscription
Can you send the code that create the Subscription with 2 subscription items?
I am doing it manually through the dashboard, i will send the req_id if that can be useful, just a sec
req_AYS0c7BnT4d6C8
It looks like you have added an Invoice Item and a Subscription Item. The Invoice Item is a one-off item (e.g. not recurring) so it won't show up on the Subscription after the subsequent invoice