title: How to get orderId from below array?
body: <p>$receipt array give the below output. How to get orderId ?</p>
  
  <p>pr($data); die;</p>
  
  <p>to get orderId, $data['receipt']['orderId']; But its gives me error..</p>
  
  <pre><code>App\Model\Entity\PaymentDetail Object
  (
      [id] =&gt; 4
      [user_id] =&gt; 4
      [company_id] =&gt; 5
      [receipt] =&gt; {"orderId":"GPA.3312-5688-8401-53436","packageName":"com.kenbar.mynus2","productId":"com.mynus2.subscription99","purchaseTime":1534914306517,"purchaseState":0,"purchaseToken":"gefffblagdakjleamfngklli.AO-J1Ow9Q5PncOoRk-oshlRBQ8kVqt3A4uIZuQi6InX7sr4bx2lNzjS-VjOXyMIwkl2G-afrI0fzoVLEADNZP2RWekoxwe4ko1M884JALYhaZsxo44U9DshbKJxbDNQHcCx9_z0yQpxc","autoRenewing":true}
  
  )
  </code></pre>