#alecpope_api

1 messages ¡ Page 1 of 1 (latest)

hidden cedarBOT
#

👋 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/1298558939482423296

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

jade tapir
#

Hi, let me help you with this.

willow sphinx
#

Thanks! So, when the customer is confirming the setup intent, I need to update the customer? Then I need to implement webhooks, right?

jade tapir
#

Correct.

willow sphinx
#

Okay, thank you very much! Is there also a possibility that the user creates the subscription and automatically adds the payment method to it's account? Or is it required to do the setup intent beforehand?

jade tapir
willow sphinx
#

Thanks. I will try it out! Maybe one more question: when the user has a payment method - how can I display it to the user? Is there a preconfigured UI element that can be used? The only elements I saw are used for actually paying/confirming something

jade tapir
#

Are you using Payment Element?

willow sphinx
#

Yep

jade tapir
willow sphinx
#

How I understand this, it is used for reusing existing payment methods, or?
What I mean is to show the customer that he already has a payment method. Something like "MasterCard: **** **** **** 0101"

jade tapir
willow sphinx
#

Okay, but the rendering of each payment method needs to be custom implemented? Because there are a lot of payment methods and I wanted to be sure if there is already an existing UI element

jade tapir
#

There's no other built-in component, unfortunately.

willow sphinx
#

Alright, thanks for the info and thank you very much for your help!

jade tapir
#

Happy to help.

hidden cedarBOT