#bragma_best-practices
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/1284065535255904299
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- bragma_code, 2 days ago, 25 messages
- bragma_best-practices, 3 days ago, 10 messages
Hi, let me help you with this.
I don't think Payment Method re-display is supported on hosted invoice page.
However, you can charge a saved payment method automatically instead, without customer needing to go on-session.
Ok, understood. That's not exactly what I wanted... What about Link? It is not available on the invoice page, am I doing something wrong?
It should be available. Have you enabled it in your settings?
Uhm, good question... Is it an API request property/option or an account setting from the dashboard?
In the Dashboard.
๐ thanks, I'll look for it!
Please note, billing Payment Methods are configured separately: https://dashboard.stripe.com/settings/billing/invoice
(makes no sense but that's how it works now, unfortunately)
Ok, it is a connected account, actually...
I see this
Link seems to be enabled. Do I also add it in payment methods when creating the subscription?
Yeah, Connect makes managing PM types even harder.
Capabilities is not quite that. You also need to enable it directly.
Could you please share the Connected account ID, I will check what it's missing.
Wait, I think I've found something in my code, let me double check
Think I got it. Someone set this when creating the subscription
PaymentMethodTypes = new List<string>
{
"card"
}
Yeah, it's best to use automatic payment methods, i.e. skip this parameter: https://docs.stripe.com/api/invoices/create#create_invoice-payment_settings-payment_method_types
Happy to help.