#jake-_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250475311913504859
đ Have more to share? Add details, code, screenshots, videos, etc. below.
this is what i recieve from my server using that code. is there a way to show the card attached?
If you talk to our support team they may be able to help you here https://support.stripe.com/?contact=true
By default, there isn't a built in way to display saved payment methods in the payment element. You would need to list the payment methods server-side and then make your own UI that presents them to the customer
ah okay i thought that might be the case. thank you :)
in the subscriptions.create is it possible to provide a payment method id and it will use that?
or do i just have to set the invoice default payment method to be provided payment method id
Yep, you can set the invoice default payment method on the customer or set default payment method on the subscription https://docs.stripe.com/api/subscriptions/create#create_subscription-default_payment_method