#danielncr_api

1 messages ยท Page 1 of 1 (latest)

rare widgetBOT
#

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

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

surreal barn
#

Hi ๐Ÿ‘‹

I see the only payment method type available is card. What other payment methods are showing up?

echo trail
#

cash app and us bank accounts

surreal barn
#

Do you have an example where I can see this rendered?

echo trail
surreal barn
#

Sorry but this is a screenshot and it doesn't give me what I need. Can you provide a publicly accessible URL where I can observer this myself?

echo trail
surreal barn
#

Hmmmm... I only see the Card input

echo trail
#

that would happen if you selected one-time -- try monthly

surreal barn
#

Are you using the deferred intent flow or are you creating a payment intent prior to rendering the Payment Element?

#

One-time payment, same UI

echo trail
#

right, it works for one-time but fails for monthly

surreal barn
#

I have not been able to reproduce seeing any payment method types besides cards

echo trail
#

did you try monthly?

surreal barn
#

That is the first sceenshot I shared, you can see the text in the button

echo trail
#

because I can reliably reproduce it in an incognito window with either monthly or yearly

surreal barn
#

Are you creating a payment intent when that loads?

echo trail
#

yes,

surreal barn
#

I"ve tried every single option and I cannot see any payment method type but card

#

yes
Can you share a payment intent ID that corresponds to this?

echo trail
#

pi_3PkZpFPft6gAiWoq1hIDgOTv

#

and here's the request: req_avtVCq0wYUsGXN

surreal barn
#

Wait. The UI I'm interacting with is rendering using Setup Intents

#

It seems like we are not interacting with the same code

echo trail
#

yours got flagged by our fraud detection - we use setup intents to quarantine suspicious contributions

#

bufo.io isn't a valid email domain ๐Ÿ™‚

surreal barn
#

Well, the Setup Intent is configured with the same payment method types and all I see is a a Card input. I'm still not sure how you are seeing other PMTs but I'd need to see that UI in my own browser to dig further.

echo trail
#

Can you try again with inputs that don't look as fraudulent?

surreal barn
#

I did using an @google.com email, still no joy

echo trail
#

ok, give me a sec

surreal barn
#

Okay now I do see the extra payment methods

#

Let do a little digging

#

When I look at the underlying Payment Intent (pi_3PkaWQPft6gAiWoq0oaDb30P), I see the following

payment_method_types: [
    "card",
    "cashapp",
    "us_bank_account"
  ],
#

This is what determines what will be displayed in the Payment Element

echo trail
#

but we're not setting that in our code afaict

surreal barn
echo trail
#

that's on the account itself, right? Is there a way to do this on the platform/connect account?

surreal barn
#

This is my own account, I just mocked it up.

echo trail
#

(and yes, I had no idea there were separate settings for invoices)

surreal barn
#

Yeah, honestly I find this design choice very frustrating but enough big users wanted separate Invoicing controls

echo trail
#

but we're using Connect -- so is there an equivalent Connect setting?

#

(as setting it on each individual account would require access that I don't think we have to the connected (Standard) accounts.)

#

(and it would also be a pain)

#

or can we override this in code?

surreal barn
#

And do you want to specify Cards as the only PMT for your Connected Accounts or including your Platform Account?

echo trail
#

We'd like to specify cards as the only payment option for connected accounts.

surreal barn
#

Because your settings govern what the Connected Account Invoice template is set to. When I log in to the Connected account's dashboard, I can't even see the Invoice settings

echo trail
#

Right -- I have access to both the platform and this particular connected account.

#

but are you saying that if I change the invoice settings for my platform account it will apply to my connected accounts as well?

surreal barn
echo trail
surreal barn
#

I see cash_app and us_bank_account are off but this isn't apparently reflected in the Invoice settings.

echo trail
#

well, just for fun I just disabled cash app in the platform account invoice settings and it didn't remove it from the payment method modal

rare widgetBOT
echo trail
#

so, I guess what I'm hearing is that we have to set it via the API and the platform payment method settings won't apply to subscriptions on connected accounts?

eternal salmon
#

๐Ÿ‘‹ Taking over this thread, catching up now

echo trail
#

thanks

eternal salmon
#

The Payment Method Configurations API doesn't apply the payment method settings of the invoices

#

You'd need to specify payment_method_types for the invoices

echo trail
#

and if we don't set payment_method_types at all?

#

you still there?

eternal salmon
#

If the payment_method_types is not specified, it will take the payment method settings on invoice settings of the connected accounts, which this setting can't be controlled by API

echo trail
#

okay, thanks.