#cristian_invoice-payment-methods

1 messages ยท Page 1 of 1 (latest)

grand nymphBOT
#

๐Ÿ‘‹ 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.

sonic orchid
#

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.

elder storm
#

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

sonic orchid
#

Do you have an example Invoice ID I could review?

elder storm
#

When the draft was created: req_unI5GfUZeta0Ou
When the invoice was paid: req_DQZiBGmMvaEbvt

sonic orchid
#

The second request is an update request to a Subscription

#

The invoice in the first request has not been paid

elder storm
#

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!

sonic orchid
#

Happy to serve as a rubber duck! Sometimes you just need to talk through a problem to see the answer.