#geo_best-practices

1 messages ยท Page 1 of 1 (latest)

proud capeBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

last furnace
#

I guess I'd like to know which event should be considered the source of truth keeping in mind that per the refund docs charge.refund.updated is deprecated

ivory stirrup
#

Hi ๐Ÿ‘‹ I don't have full context on the previous thread, but from what you've shared so far it sounds like you may be looking for the refund.updated Event type.

last furnace
#

so essentially my refunds for klarna are not being properly processed in my system. This is due to the dirrefence in the data available between regular credit card payment refunds and klarna

#

I'd like some gudance on what is the best way to determine if a refund was successful for both instances

#

I have listeners for charge.refunded and charge.refund.updated but since charge.refund.updated is deprecated, I'd like to implement a fix on charge.refunded or another event if necessary

ivory stirrup
#

Gotcha, I'd suggest looking at the refund.created and refund.updated Event types

last furnace
#

which one of these would be the source of truth on the final status?

ivory stirrup
#

refund.created is only emitted when a refund is created, so refund.updated sounds like it may be what you're looking for.

last furnace
#

I see.

#

on a related tangent lol

#

apparently there is an issue with klarna in sandbox mode for accounts outside of the US, how can I test this in a staging environment? Due to this issue I can create orders.

ivory stirrup
#

Can you elaborate on the issue you're referring to?

last furnace
#

geo_klarna-uk-vpn-not-available

#

that discussion, sorry I don't know how to link it in a message but it's linked above

ivory stirrup
#

Hm, seems like you're blocked if you need to use a VPN but Klarna is blocking you because you're using a VPN. Do you have to use the VPN to test?

last furnace
#

I also had a coworked who likes in the UK try this and it also did not work for him even without a vpn, he started a discussion here as well and your team determined it was an issue in Klarna's sandbox

ivory stirrup
#

Do you have a link to that discussion by chance? I'm not sure what advice we're going to be able to offer if the issue is on Klarna's side, but happy to take a closer look at the context to have a better understanding of where things stand.

last furnace
#

trying to look for it, give me a few since my coworker initiated and he is in the UK

ivory stirrup
#

No worries, appreciate it!

ivory stirrup
#

Hm, and did the suggestions there help? I don't see any follow-up to my teammate before the thread got stale.

last furnace
#

no never heard back so I'm stuck lol

ivory stirrup
#

Can you go check the thread again? The latest message is from my teammate about clearing out data that it seems like Klarna is caching.

last furnace
#

But we don't have a klarna account, I thought the point of using via stripe was to not have to do that

#

how would we clear cache?

#

My coworker also had never purchsed via Klarna so I'm not sure what is being cached

proud capeBOT
ivory stirrup
#

Nor would we know what Klarna is caching ๐Ÿ˜… we aren't familiar with the inner workings of Klarna's sandbox environment.

last furnace
#

how come you guys were sure that's what was happening lol

#

I guess we are all confused

ivory stirrup
#

ha, fair questions
I don't have firm answers, I didn't have enough time to review the other threads in full context, only skim them and hopefully pull the context relevant to your ask.

It feels like this may need a combination of things and is likely better off being routed to our support team:
https://support.stripe.com/?contact=true
I think it's worth our teams taking a closer look to see if we should be looping in Klarna's sandbox environment in the first place. That investigation is going to take longer than we can accommodate in a thread here which is why i suggest opening a case.