#chirag_api
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/1478219991710044220
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The payment method configuration is for the display preference, but it doesn't mean that the payment method will actually be shown in the Stripe client UI such as Payment Element or hosted / embedded Checkout Session. Whether the payment method will be shown depending on multiple factors such as capabilities, currency, country.. etc. Such check only be performed in real time when the customer attempts to make a payment
https://docs.stripe.com/api/payment_method_configurations/object#payment_method_configuration_object-klarna-available for example this one in our case is returning available event if my account does not have capability for klarna
In our use case I pass payment methods explicitly and I get available methods via Retrieve payment method configuration and we are expecting if klarna is on but the account does not have capability somehow I should be able to identify that so I do not pass klarna as payment method while creating a PI
Can you share the full response you received for Payment Method Configuration retrieval as Stripe doesn't store the response for a GET request?
I just did an API call to update klarna and you will be able to see my account does not have capability
req_tjIwZvChLsqZuq
: {
"available":
true,
"display_preference"
: {
"overridable":
true,
"preference":
"on",
"value":
"on",
},
},```
This is update request but it does return the full PMC object
Thanks for sharing the details. Indeed that available: true doesn't seem expected when the klarna capability isn't requested. Can I suggest you writing to Support https://support.stripe.com/contact with the example request req_tjIwZvChLsqZuq and the issue you're facing, so that they can check with the relevant team why the available returns true when the capability isn't enabled?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thanks