#henrique_pmc-connect
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/1242490361826381824
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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?
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
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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
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?
One moment, I will check that!
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.
- Logged in to the platform account
- Settings > Payments > Payment Methods
- Scroll down to the end, click "View Connect payment method settings"
- Your connected accounts > Edit settings
- Land here https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts
- Next to create experiment, click to "..." button and "Create a configuration".
- 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"
},
Oh, I see. In the request you're using the PMC listed as the Parent there.
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.
How do I update that? Its showing up as enabled on dashboard and no option to enable/disable it.
I would suggest either trying to toggle it via the API, or turn cards off then back on via the dashboard.
henrique_pmc-connect
carddisplay_preference is not overridable. Please check the platform settings (https://dashboard.stripe.com/settings/payment_methods/connected_accounts).
its not possible to change from dashboard or API
@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?
{
"error": {
"message": "carddisplay_preference is not overridable. Please check the platform settings (https://dashboard.stripe.com/settings/payment_methods/connected_accounts).",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_SZvZnsCHFnPmBl?t=1716307019",
"type": "invalid_request_error"
}
}
{
"error": {
"message": "Platform parent configurations can only be managed via the dashboard.",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_3hZQ8xjoFOAEHK?t=1716307589",
"type": "invalid_request_error"
}
}
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.
๐ค
Are you write code right now? You said you were using the API
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..
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?
Yes, this is the parent id of a configuration I just created now: pmc_1PIvNCDjPFcHOcTm6LBtHEzN
How are you creating those? Can you share the exact URL you are on and a screenshot of what you see?
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
thanks, we're looking into it!
Okay I can reproduce right now so it looks like a bug, we're looking into a fix
awesome, thank you!
๐ Wanted to let you know we're still working on this. ๐
@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
Will do, thanks!
@low junco I don't see your case yet. Let me know when you've opened it!
I don't have access to support on my org, I will ask someone to create it.