#henrique_pmc-connect

1 messages ยท Page 1 of 1 (latest)

barren acornBOT
#

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

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

low junco
twilit pumice
#

Hi there ๐Ÿ‘‹ are you explicitly passing a Payment Method Configuration object when creating your payment intents, or are you using the default one? Can you share the ID of a request where you created a Payment Intent in this fashion?

low junco
#

request id: req_3L4Z4A8kPbPP6A

#

I am passing a payment method configuration id when creating the payment intent.

#

The payment method configuration was created on the dashboard.

#

This is all in test mode, btw

twilit pumice
#

Hm, I do think I'm seeing that card is disabled in that PMC. Can you retrieve it via the API and confirm what you see for card.display_preference.preference?
https://docs.stripe.com/api/payment_method_configurations/create#create_payment_method_configurations-card-display_preference-preference

low junco
#

I did try to get that via API, but I am using a parent configuration id and it does not let me query it via API

Parent configurations are managed in the dashboard and are not available in this API

twilit pumice
#

Was that error returned when you tried to retrieve the child configuration? Is card.display_preference.preference set to none in the child configuration, indicating the parent/default setting should be used?

low junco
#

One moment, I will check that!

twilit pumice
#

Thank you, I'm digging on my side too to see if anything jumps out at me.

#

You also mentioned you created this new PMC in the dashboard, correct? Can you walk me through how you did that?

#

They Payment Method Configuration ID used in the request you shared isn't showing to have a parent PMC to me.

low junco
#
  1. Logged in to the platform account
  2. Settings > Payments > Payment Methods
  3. Scroll down to the end, click "View Connect payment method settings"
  4. Your connected accounts > Edit settings
  5. Land here https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts
  6. Next to create experiment, click to "..." button and "Create a configuration".
  7. Next I just enabled a buncho payment methods and saved. Card was always displaying as "On by default"
#

This is the PMC id I created: pmc_1PIqlVDjPFcHOcTmtPfRrO8O

Tring to query gets me this:

#

In the logs for the payment intent:

"payment_method_configuration_details": {
"id": "pmc_1PIqnFBYycQg1OMfROuVpZ3b",
"parent": "pmc_1PIqlVDjPFcHOcTmtPfRrO8O"
},

twilit pumice
#

Oh, I see. In the request you're using the PMC listed as the Parent there.

low junco
#

If I query for the child PMC ID

#

card shows as disabled

twilit pumice
#

Gotcha, I think that's why you aren't seeing card offered. If you update that to on I think cards will start to be offered. Though I'm still not sure why that would have default to off.

low junco
#

How do I update that? Its showing up as enabled on dashboard and no option to enable/disable it.

twilit pumice
#

I would suggest either trying to toggle it via the API, or turn cards off then back on via the dashboard.

barren acornBOT
wicked fossil
#

henrique_pmc-connect

low junco
#

its not possible to change from dashboard or API

wicked fossil
#

@low junco Can you share exact information about what you try and what the exact error response is when you used the API so that we can help you?

low junco
wicked fossil
#

sorry that's just a JSON dump without real details. Please try to provide all the actionable information all in one message. Exact code you used for example, which exact PMC you are trying to update, etc.

low junco
#

๐Ÿค”

wicked fossil
#

Are you write code right now? You said you were using the API

low junco
#

I dont know how else to describe it. I have created a payment method configuration on the dashboard, described in detail here: #1242490361826381824 message

Upon creating this payment method configuration, I copied its ID (pmc_1PIqlVDjPFcHOcTmtPfRrO8O) and used it to create a payment intent here for a connected account. You can find the exact request as shared before, here: https://dashboard.stripe.com/test/logs/req_3L4Z4A8kPbPP6A

The return of the payment intent call does not include card as part of its payment_method_types options. As a result, I cannot use card for this payment intent.

#

I am trying to integrate the payment method configuration API into my connect setup for the first time.

#

I need to use this API to toggle between different sets of available payment methods.

#

My only issue is that for some reason, the card payment method is not enabled, which is so unexpected..

wicked fossil
#

Yep yep sorry I read all that. You said those words

henrique: its not possible to change from dashboard or API
I was just asking for a clear message with what you tried exactly from the API with exact code, instead of just the JSON response of the error

#

Can you create a brand new one so I can look at whether card is enabled there?

low junco
#

Yes, this is the parent id of a configuration I just created now: pmc_1PIvNCDjPFcHOcTm6LBtHEzN

wicked fossil
#

How are you creating those? Can you share the exact URL you are on and a screenshot of what you see?

wicked fossil
#

Can you create a new one but share screenshot of every modal you see? Clearly card is disabled again on that new one and I don't understand how that's possible

low junco
wicked fossil
#

thanks, we're looking into it!

#

Okay I can reproduce right now so it looks like a bug, we're looking into a fix

low junco
#

awesome, thank you!

barren acornBOT
ember dock
#

๐Ÿ‘‹ Wanted to let you know we're still working on this. ๐Ÿ™‚

urban spireBOT
barren acornBOT
red basalt
#

@low junco taking over for my teammates. We're still working on a fix but don't have an ETA yet. Could you open up a support case and let me know once it's opened? In your case, you should mention you were chatting with developer support in Discord, and link to your thread: https://discord.com/channels/841573134531821608/1242490361826381824

low junco
#

Will do, thanks!

red basalt
#

@low junco I don't see your case yet. Let me know when you've opened it!

low junco
#

I don't have access to support on my org, I will ask someone to create it.