title: Razorpay not returning payment id using order id
body: <p>I need razorpay_payment_id using razorpay_order_id. But,</p>
  
  <p>When I use this the response is</p>
  
  <pre><code>$order = $api-&gt;order-&gt;fetch("order_xxxxxxxxxx")-&gt;payments;
  var_dump($order);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/zTDWE.jpg" rel="nofollow noreferrer">enter image description here</a></p>
  
  <pre><code>Notice: Undefined index: payments in D:\wamp\www\xxxxxxxxxx\xxxxxxxx\razorpay-php\src\Resource.php on line 40
  Call Stack
  #   Time    Memory  Function    Location
  1   0.0010  139848  {main}( )   ..\test.php:0
  2   3.0040  772824  Razorpay\Api\Resource-&gt;__get( ) ..\test.php:981
  </code></pre>
  
  <p>null</p>
  
  <pre><code>$order = $api-&gt;order-&gt;fetch("order_xxxxxxxxxx")-&gt;payments();
  var_dump($order);
  
  object(Razorpay\Api\Collection)[8]
  protected 'attributes' =&gt; 
  array (size=3)
  'entity' =&gt; string 'collection' (length=10)
  'count' =&gt; int 1
  'items' =&gt; 
  array (size=1)
  0 =&gt; 
  object(Razorpay\Api\Payment)[10]
  ...
  </code></pre>
  
  <p>Not getting payment id and payment details.</p>