paypal / paypal-android

One merchant integration point for all of PayPal's services
Apache License 2.0
74 stars 41 forks source link

Meaningful errors #170

Open emartynov opened 1 year ago

emartynov commented 1 year ago

Is your feature request related to a problem? Please describe.

I'm testing payment with credit card, and I'm getting an error

Error: 422 - Description: The requested action could not be performed, semantically incorrect, or failed business validation. -> [Issue: UNPROCESSABLE_ENTITY.
Error description: UNPROCESSABLE_ENTITY]

I don't know what does it mean. If I can recover from it or not.

Describe the solution you'd like.

It would be great to have or more concrete error or maybe there is table related to the error code that makes it clear.

sshropshire commented 1 year ago

@emartynov can you provide a test card that I can use to reproduce this issue? And was this the result of a CardClient#approveOrder() call?

Angie20182 commented 1 year ago

EC-R_fbH5NsKf1jAcy4Va0y5g_QCIXuWz5M0RToqa406nNZ4GXbuOstut9VBWexnxoNQ-CKFlT8B6LHM sb-vrqnx27095258@business.example.com