#Miaina

1 messages · Page 1 of 1 (latest)

slate apexBOT
zealous timber
#

HI 👋 can you tell me more about the behavior you're seeing?

neon snow
#

Hello

#

yes

#

Since a few days

#

When a direct debit refund is triggered on our side we used to receive a charge.refund.updated event with "succeeded" as status

#

it has changed since a few days

#

we receveive the very same event but "pending" as status

#

So we can no longer know when the process succeeded

#

it's very big problem

#

=> we noticed that some refund attempt succeded but we did not receive any other event to notify us

#

we are in the dark

zealous timber
#

Can you share the IDs of related objects from where you saw this? Refund ID and Event IDs would be particularly helpful.

neon snow
#

yes

#

today we have another case

#

py_1MLfFNB5dMznlpuOl5NFzmin

#

a refund has been asked and we received the event evt_1MPl1PB5dMznlpuOKa9gt14u

#

(charge.refund.updated = pending status)

#

but

#

it has the same pattern

#

as another event

#

py_1MKCLkB5dMznlpuOYikykKNa

#

the last event is evt_1MMwTZB5dMznlpuOUXPlL7LV (status = pending) but the refund is validated and succeed

#

we wait for "succeeded" status to aknowledge on our backoffice the success of the refund

#

we cannot do it anymore

#

and we must do all the operation manually and check every day when the operation is validated

zealous timber
#

Do you have an estimate of when you saw this behavior change? and do you have an example of the previous behavior that I can reference?

neon snow
#

well

#

the first occurence

#

is 5th of January

#

2023

#

i'm checking the last time a refund has been successful

#

15th of dec we have a succefull case of refund

#

with no pb on our side

#

=> py_1MMjgaB5dMznlpuO87rlc1jK a refund which is still on pending since 3 days

#

it's strange this one

zealous timber
neon snow
#

the successful one ?

#

py_1MARz8B5dMznlpuOACzTqrsx

zealous timber
#

Yes, it'll allow me to compare the two.

#

Thank you

neon snow
#

(the status si "succeeded" for the linked event charge.refund.updated : evt_1MFJ9KB5dMznlpuO7BCBzgUV)

zealous timber
#

If you retrieve one of the Refunds, from the API, where the most recent event is showing a submitted state, do you see that same state in the Refund object's status field?

neon snow
#

Sorry I don't know to request the API and check the object

#

I just look on the code but don't have a specific request tool

zealous timber
#

Could you use curl from your command line/terminal?

neon snow
#

i guess

#

i have curl (never used though)

zealous timber
#

What I'm trying to determine, is from your perspective whether the status of the refund object changed from pending to succeeded (or possibly requires_action) and an event wasn't generated for that, or if from the API perspective the status of that object isn't changing.

neon snow
#

I found the syntax but I don't know where to find the Refund object

#

iod

#

id

zealous timber
#

It's in the Event objects that you've been sharing, in the object.id field. It should have a prefix of pyr_

neon snow
#

ok pyr_1MPhFmB5dMznlpuOKW32hYZK

#

I got the exact same value as in the stripe web interface

#

the same json

zealous timber
#

Gotcha, thank you for those details. Just to confirm, you're seeing succeeded in the status field?

neon snow
#

ah i don't check the interesting case

#

did not

#

i'm doing it

#

you're right

#

for pyr_1MMshZB5dMznlpuOEDsvMw7Z

#

which is displayed as succeed in the interface

#

with the last event logged pending

#

is now succeed

#

{
"id": "pyr_1MMshZB5dMznlpuOEDsvMw7Z",
"object": "refund",
"amount": 144000,
"balance_transaction": "txn_1MMshZB5dMznlpuOx2ijd5OE",
"charge": "py_1MKCLkB5dMznlpuOYikykKNa",
"created": 1672922265,
"currency": "eur",
"metadata": {},
"payment_intent": null,
"reason": null,
"receipt_number": null,
"source_transfer_reversal": null,
"status": "succeeded",
"tr

#

status changed

#

it was
{
"object": {
"id": "pyr_1MMshZB5dMznlpuOEDsvMw7Z",
"object": "refund",
"amount": 144000,
"balance_transaction": "txn_1MMshZB5dMznlpuOx2ijd5OE",
"charge": "py_1MKCLkB5dMznlpuOYikykKNa",
"created": 1672922265,
"currency": "eur",
"metadata": {
},
"payment_intent": null,
"reason": null,
"receipt_number": null,
"source_transfer_reversal": null,
"status": "pending",
"transfer_reversal": null
},
"previous_attributes": {
}
}

#

but we did not receive the succeed update event

zealous timber
#

Thank you again for those details, I'm doing some digging on my end and will keep you updated.

neon snow
#

thank you

zealous timber
#

Thank you for your patience, I do believe this is a concern on our end that our teams will need to review more closely.

zealous timber
#

Sorry, I need to step away soon and believe this will take more time than is feasible for us to keep this thread open. Would you mind opening a Support case with our team, and reference my name?
https://support.stripe.com/?contact=true