#steven_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/1374561009016246445
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hi, will be here shortly
Hi, that would be possible with Checkout and and its price_data parameter
oh yes..you're right. so a product has to be created first and then the line_items[0][price_data][unit_amount] can be set.
I've noticed that custom price isn't found in the products page and is autmatically archived. is this right?
https://dashboard.stripe.com/test/products/prod_SLj7ju7GvnBgat
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Or you can also specify the produc_data inside price_data
I looked at prod_SLj7ju7GvnBgat and think its Prices are still active
Which custom Price Id are you looking at? price_xxx
so I made the following call with launched a checkout session: https://dashboard.stripe.com/test/logs/req_iMeFfxsxYewIkB
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
and when I click into the customer, view price/product, it shows up as archived.
because ideally i'd love to be able to somehow edit the subscription price in the future (e.g. users change their services)...
is that even possible given prices cannot be edited it seems..
Okay I tried updating the subscription: https://dashboard.stripe.com/test/logs/req_OLpMTSVhLyB8v1
in an attempt to do this via API but it simply created prices item to this subscription...how do I emulate the frontend of stripe?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hmm could you elaborate a bit more. Which frontend feature are you tryin to emulate/simulate?