#jon-waldstein-givewp_card-statement-descriptor
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/1327043407264223322
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
is it still safe to use when using automatic_payment_methods?
Can you describe more in detail what you are referring to?
Hello! When creating a payment intent (from payment element) we are using the automated_payment_methods attribute https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods. However, we are also adding the statement_descriptor attribute https://docs.stripe.com/api/payment_intents/object#payment_intent_object-statement_descriptor.
With the api changes here https://support.stripe.com/questions/use-of-the-statement-descriptor-parameter-on-paymentintents-for-card-charges is says the statement_descriptor will not work when payment_method_types is set to "card" - however we are using automated_payment_methods in our implementation. So want to confirm if we are safe to continue using the statement_descriptor with automated_payment_methods
This will potentially throw a 400 error if the payment method selected by the user is a card type
That's what I thought too, however it's not throwing a 400 when using a card. So i'm wondering if automated_payment_methods is bypassing this limitation?
Can you share a request where you confirm a payment intent with this value?
yes, are you able to view this? https://dashboard.stripe.com/test/workbench/inspector/pi_3QfU01C6z5rd6X031fT4EqoL
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Just the ID please. I cannot view a dashboard link (because it's not my dashboard)
oh okay, the payment intent ID is pi_3QfU01C6z5rd6X031fT4EqoL
Thank you!
Got it, yes it looks like automatic_payment_methods is avoiding this currently.
HOWEVER, that does appear to run counter to the intent of the deprecation of the statement_descriptor so I would absolutely not count on that succeeding in the future.
I am not saying we (Stripe) are going to break this flow. I have no insight into that. I am just saying what I, as an individual who likes building websites and applications, would do.
okay good to know, thanks!