#warrenn1_webhooks

1 messages ¡ Page 1 of 1 (latest)

topaz belfryBOT
#

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

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

thorny plinth
#

Hello, for 1 unfortunately there isn't a way to have fields auto-expanded in events. The best way to get that data is to retrieve the info for that PM when you get the event. Alternately you can listen for the payment_method.attached event which will include the full PM info.

#

Checking in to #2

steep wharf
#

Okay thank you so much. If 2 is possible it would be a big help.

thorny plinth
#

It looks like it is not possible, though I think part of this may be because Link PMs don't necessarily represent one payment method. I think users can switch the payment method that actually gets charged when link gets charged. And I think for subscriptions specifically there is even functionality to set up fallback payment methods to try to charge if the initial PM gets declined when it is charged https://support.link.com/questions/how-can-i-edit-my-default-payment-method

steep wharf
#

Okay. Is there a way with payment elements using the setup intent to only allow card, bankaccount etc payment methods.

thorny plinth