#anyakey_best-practices

1 messages ยท Page 1 of 1 (latest)

hollow mountainBOT
#

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

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

ivory brook
#

When you say removing CreditCards from payment methods what do you mean?

#

What are you trying to do specifically? What's your use-case?

rose flare
#

We've switching them off in the Dashboard

#

And for some usecases we get an empty PaymentElement

#

We want this issue to be unnoticed by the user, e.g. know in advance that there won't be anythinh

#

Or maybe some callback to hide the container with PaymentElement

rustic harbor
#

If you check payment_method_types on the PaymentIntent that you created, is that an empty array in this scenario?

rose flare
#

We first collect data then create a PaymentIntent ๐Ÿ˜ฆ

rustic harbor
#

Ah so you set up elements without a payment intent and then get a blank payment element sometimes for certain configurations?

rose flare
#

Yep

#

It's okay that it's blank, but we want to hide the whole container so no one notices it ๐Ÿ™‚

rustic harbor
rose flare
#

Not quickly, I'm on call RN, but I'll try