Search code examples
phppaypal-sandboxpaypal-rest-sdkpaypal-vault

How to debug the PayPal debug_id?


We're using PayPal Vault Rest API for our payment features. It was working fine in sandbox, but it started giving us errors for a couple of weeks now. Error is manifesting in sandbox mode.

It's giving following error:

{
    "name": "INTERNAL_SERVICE_ERROR",
    "message": "An internal service error occurred.",
    "information_link": "https://developer.paypal.com/docs/api/payments/#errors",
    "debug_id": "############"
}

So my question is how we can use debug_id to find out the issue? Thanks in advance.


Solution

  • From PayPal github issue tracker

    Debug ID

    You cannot use directly this id, you have to give it to the support.

    On the other hand, if you log into your developer account, you should be able to see all requests made to a certain applications and/or email addresses.

    enter image description here

    Requests with errors are shown with the orange sign. You can click to see more details.