#ferterahadi

1 messages · Page 1 of 1 (latest)

topaz mangoBOT
proven furnace
#

in production, my system logged this error message "Failed to retrieve payment method data"

#

need your help to find the TerminalErrorCode associated to that error message

fading latch
#

"Failed to retrieve payment method data" is likely due to CARD_REMOVED that the card was removed during the transaction

proven furnace
#

thanks @fading latch may I confirm if that's what written in the code base?

fading latch
#

Can you share the payment intent ID (pi_xxx)?

proven furnace
#

this one @fading latch pi_3NiH3yLvc0onZ7sf1eYoVVhz

fading latch
proven furnace
#

I used Stripe-terminal-android SDK, v2.21.0

the result of the SDK processing the payment was "Failed to retrieve payment method data"

#

I wanted to know, what TerminalErrorCode is associated to that error message

#

from what I understand, the request reached the server and the server managed to process it, thus in the dashboard, we see the request as successfully authorized

#

but I believe, the response didn't reach the client side back

#

as a result of that event, the SDK threw this error message ""Failed to retrieve payment method data""

fading latch
#

At which step in this doc that you receive "TerminalException.TerminalErrorCode"?

proven furnace
#

I am planning to do this

#

I can check e.errorMessage = "Failed to retrieve payment method data" too, but wouldn't it be better if we refer to the .errorCode? the only problem here is I don't know what's the errorCode associated to that message, as the issue happens on production

fading latch
#

I see! TerminalErrorCode.CARD_REMOVED is the one with "Failed to retrieve payment method data"

proven furnace
#

ohh so it is real

#

may I know how this error is thrown TerminalErrorCode.CARD_REMOVED ?

and what other error messages associated to that errorCode?

fading latch
#

and what other error messages associated to that errorCode?
The error message is "Failed to retrieve payment method data"

#

I'd recommend logging the error code and message in your system for your own references

proven furnace
#

alright, thanks @fading latch

#

greatly appreciate your help

#

thanks for taking the time to look into this

fading latch
#

No problem! Happy to help 😄