#nielsen_error

1 messages ยท Page 1 of 1 (latest)

rose gladeBOT
#

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

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

spring swallowBOT
stable flint
#

Hi there ๐Ÿ‘‹ that error is thrown when you different settings in the frontend and backend parts of your flow, you'll want to bring those into alignment.

Either you'll want to adjust your backend piece to also use dynamic/automatic payment methods,

or

adjust your frontend code so that it leverages paymentMethodTypes when initializing Elements, and you'll want to provide the same values there as you're providing to payment_method_types when creating the intent
https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodTypes

autumn surge
#

Will I still be able to use Stripe Financial Connection permissions if I create the SetupIntent with automatic payment methods enabled?

stable flint
#

I haven't explicitly tested that flow, but yes I believe that's still possible.

#

Let me know if you run into an error though and I'll be happy to take a closer look.

autumn surge
#

Ok, I think I tried that but I didn't see that the financial connections with the specific permissions showed up. In test mode anyways.

stable flint
#

Can you elaborate on what that means? Like you didn't see the permissions you set listed on the Setup Intent after you created it? You didn't see something you were expecting in a UI, or possibly something else?

autumn surge
#

I confirmed a setupintent with that configuration in the frontend. It was successful but when I check the financial account id for that created payment method I don't see the permissions I requested.

stable flint
#

Can you copy/paste the ID of the Setup Intent you used here?

autumn surge
#

Yes, one sec.

#

Ok I lost it, but I created a new one.

seti_1PiHnqRp92GK2iftjAdEmWch

#

For context, I am in test mode, using a test account that has not been verified.

stable flint
#

Hm, I see what you're saying, trying to see if I can spot why that's happening. If you try to retrieve the balance or ownership details for that account, do you encounter a permission error?

#

Ah, I think I know what's going on here, one second while I grab the right reference materials.

#

It sounds like you're initializing Elements without an intent already being created, in which case the settings from the Elements instance drive a lot of this flow rather than the settings on the intent.

When initializing Elements, you'll want to also include paymentMethodOptions.us_bank_account.financial_connections.permissions in the options hash:
https://docs.stripe.com/js/elements_object/create_without_intent#stripe_elements_no_intent-options-paymentMethodOptions-us_bank_account-financial_connections
There you can set the permissions you want to have on the FCA and they should carry through.

autumn surge
#

i should be able to pass those options directly to the Elements React component?

stable flint
#

Yup