title: PayPal - Unable to verify the payment using Transaction ID (GetTransactionDetails API)
body: <p>There are a lot of discussions about similar issues but I couldn’t find the exact answer.</p>
  
  <p>Here is the problem:</p>
  
  <p>I’m trying to integrate in-app payment in Android OS using the latest PayPal MSDK library. The integration was straight forward, I could make successful single payment, receive proper response and the things was OK until I have to <a href="https://developer.paypal.com/webapps/developer/docs/integration/mobile/verify-mobile-payment/" rel="nofollow">verify the mobile payment</a></p>
  
  <p>In the mobile app(using PayPalConfiguration.ENVIRONMENT_SANDBOX), I receive the following response:</p>
  
  <pre><code>{
      "client": {
          "environment": "sandbox",
          "paypal_sdk_version": "2.2.2",
          "platform": "Android",
          "product_name": "PayPal-Android-SDK"
      },
      "response": {
          "create_time": "2014-08-05T19:49:19Z",
          "id": "PAY-0D205735ER3716140KPQTKPY",
          "intent": "sale",
          "state": "approved"
      },
      "response_type": "payment"
  }
  </code></pre>
  
  <p>As you can see, the transaction ID is: <strong>PAY-0D205735ER3716140KPQTKPY</strong></p>
  
  <p>When I try to verify the payment by making request with this transaction ID from my server to PayPal, the response is always the same:</p>
  
  <pre><code>{
  "Errors":
       [
          {
          "L_ERRORCODE":"10004",
          "L_SHORTMESSAGE":"Transaction refused because of an invalid argument. See additional error messages for details.",
          "L_LONGMESSAGE":"The transaction id is not valid",
          "L_SEVERITYCODE":"Error"
          }
       ]
  }
  </code></pre>
  
  <p>When I check in <a href="https://developer.paypal.com/webapps/developer/applications/accounts" rel="nofollow">PayPal Sandbox test account site -> Notifications</a>, the test transactions ids are completely different. For the above transaction, the transaction id is:
  <strong>5DY75733624918945</strong></p>
  
  <p>If I use this transaction ID in my verification request – the response from the PayPal is OK.</p>
  
  <p>According the documentation, I should use the id from the mobile app response (moreover – I do not know other way to retrieve a transaction id…). </p>
  
  <p>I'm using a test sandbox account, tried with different type of payment (PayPal button and CC), tried even with real transactions - the result is the same.</p>
  
  <p>Do you guys know why they are different? </p>