#cristian_invoice-payment-methods
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/1243263506048876629
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
HI ๐
we can't really offer much insight into how the Dashboard behaves. This server is focused on how to write code to integrate with Stripe APIs so that is what we are expert on.
When using the API, you can specify the default_payment_method when creating an Invoice: https://docs.stripe.com/api/invoices/create#create_invoice-default_payment_method
But I don't see a similar option when using the Dashboard.
Exactly, I specify the payment method desired in default_payment_method when creating an invoice, but when it is paid it uses the customer default payment method
Do you have an example Invoice ID I could review?
When the draft was created: req_unI5GfUZeta0Ou
When the invoice was paid: req_DQZiBGmMvaEbvt
The second request is an update request to a Subscription
The invoice in the first request has not been paid
Right, sorry, I got the invoice from the subscription that was updated
But the invoice has the payment method attached
The Charge customer option is not disabled anymore ๐คทโโ๏ธ
weird, but the payment method provided is preselected, I believe this solves our issue
Thank you Snufkin!
Happy to serve as a rubber duck! Sometimes you just need to talk through a problem to see the answer.