#andrew_error
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/1468405465036754945
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Could you share the Invoice ID in_xxx?
in_1SwjMGEo4ZHmLQNedzX7GZwJ
Hi, could you try setting the Payment Method pm_xxx to the customers' invoice_settings.default_payment_method?
Sorry that will only get the new Invoice created after the change, to pick up the PM. Could you create a new Invoice and see whether it has the PM?
Its a little hard to replicate the creating of invoice line items and then finalise but i will do it.
Do you know this step to set the payment method to default, is there a way that can be done programmatically after the create their account?
What we often recommend is, when you received the setup_intent.succeeded event, you call Update Customer API and set the PM to invoice_settings.default_payment_method