#lam_refund-expansion-charge

1 messages ¡ Page 1 of 1 (latest)

burnt skyBOT
#

👋 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/1244932326472028241

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dense pebble
#

Here is the event you are looking for evt_3PLJYRAfC1NR9PLZ1dNV2S1f

uncut remnant
#

Yes

dense pebble
#

So it's generated. What is the issue you are facing ?

#

It was sent to your webhook endpoint https://qa.***.co/orderservice/orders/refund

#

But your API didn't responded with 200

#

It responded with 500 and this response body {"message":"Server Error"}

uncut remnant
#

yes

#

it's missing field: refunds

#

the old API version has that field

dense pebble
#

Ah I see, yes now you need to expand refunds

#

After you get the webhook event, you need to make an API call to retreive the refunds

uncut remnant
#

how to do that with Java ?

dense pebble
#

The example above without using expand

#

if you want to use expand

uncut remnant
#

Ah. Ok thank you

dense pebble
#

Np!

uncut remnant
#

This is only for the lastest version?

#

I did not see that with lower version

burnt skyBOT