#jamie_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/1338851947251241044
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi Tarzan
just wondering here what I am missing, is the only way to add a statement descriptor to update the payment intent in another API request?
๐ happy to help
you need to update the invoice's statement descriptor https://docs.stripe.com/api/invoices/update#update_invoice-statement_descriptor
I need to update the invoice in a separate api?
surely there's a way to set that when creating the initial subscription?
yes that's correct
unfortunately there isn't
what's your account ID? there's a recurring feedback about this and I would like to add you for the list of accounts that are requesting this
And then why the invoice? isn't the payment intent what affects this
i.e. subscription->latest_invoice->payment_intent I already return this for the secret to create the payment form
should I not update the payment intent statement descriptor instead of the invoice then?
acct_1Ayi8CLjYDcRA6KW
the invoice controls the payment_intent and you can't directly update the underlying payment intent
so you need to update the invoice while it's still in its draft state
okay yeah I getcha, I remember that being an issue
been awhile since I made changes to our stripe setup ๐
That'll be all then, I sent you the acc id in above message
hope it gets added for future users, by then I won't need it anymore ๐
sorry about that ๐ฆ
No worries of course I've implemented that
@ivory goblet , it seems to have worked, but hard to confirm with test credit card
can I see the statement descriptor in the stripe test dashboard on an invoice somewhere? I can't see, or do I really need to get api that single invoice
it works the same way wether in test mode or in live mode
yeah just want a sanity check that stripe actually has the info ๐
normally you should be able to see it somewhere
I'm not a dashboard expert but it should be somewhere there I assume
https://dashboard.stripe.com/test/invoices/in_1QrJ06LjYDcRA6KW01U8e3Jf can yuo see this?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I can take a look sure
Ah yes I see it, I update it twice as well
all good here thanks, can consider this one closed
sure ๐