#charlie-fanbase_unexpected

1 messages ยท Page 1 of 1 (latest)

wispy ruinBOT
#

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

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

uncut cipher
#

๐Ÿ‘‹ Can you confirm where you see this being set to false?

wispy ruinBOT
iron acorn
#

Yip its from this code var service = new PaymentMethodConfigurationService();
var paymentMethods = await service.ListAsync(requestOptions : requestOptions);

uncut cipher
#

This isn't related to capabilities, it's just for listing payment method configs. Do you have the request ID?

iron acorn
#

Should that not return true for Klarna if it is enabled?

#

I'll try grab request Id now

sterile gazelle
#

hi! I'm taking over this thread.

iron acorn
#

Hi

sterile gazelle
#

well, it depends which payment method configuration you are looking at exactly. so that's why a request ID would help.

iron acorn
#

Cool request Id is req_mOUNcnm2BPp7qa

sterile gazelle
#

and which PaymentMethodConfiguration are you looking at exactly (pmc_xxx)?

iron acorn
#

Sorry not sure how to check that?

sterile gazelle
#

var paymentMethods = await service.ListAsync(requestOptions : requestOptions);
this code can returns multiple payment method configuration. on which one do you see it set to false?

iron acorn
#

Yip sorry follow now. Klarna is what we are looking at. Exact code is: KlarnaAvailable = paymentMethods.Data.FirstOrDefault(pm => pm.Application != null).Klarna?.Available ?? false,

sterile gazelle
#

can you shrae the PaymentMethodConfiguration ID (pmc_xxx) you are looking at?

iron acorn
#

I don't think there is a specific configuration we are looking at, is it not the account wide settings?

sterile gazelle
iron acorn
#

Ok cool, we may have got it wrong during initial build. Do you know why this would have changed? Its been working correctly for over a year, but started returning false around 10 days ago

sterile gazelle
#

but started returning false around 10 days ago
what did return false? the PaymentMethodConfiguration? If so, can you share it's ID that looks like pmc_xxx?

iron acorn
#

Its returning FALSE for the snippet above when setting KlarnaAvailable. We aren't passing in a PMC Id, the code to call the endpoint is above, I'm not sure how this endpoint works but it used to return true for the KlarnaAvailable code, so I was assuming it returned the company settings if no payment configurations are created.

sterile gazelle
#

can you update your code to print the object ID, and past it here so I can have a look?

iron acorn
#

Nope sorry this is only happening in production, can't replicate in our dev environments

#

Which objectId are you looking for?

#

the PMC? I don't think this club has any PMC's setup

sterile gazelle
#

I'm looking for the ID of the PMC where you see that Klarna is set to false.

#

Nope sorry this is only happening in production, can't replicate in our dev environments
can't you write some extra code to list the PMC and print the output?

#

then share the ID you see in the output?

iron acorn
#

Nope we don't run against production

#

thanks for your help