Title: Undefined array key &#8220;id&#8221;
Last modified: March 21, 2022

---

# Undefined array key “id”

 *  [hitesh945](https://wordpress.org/support/users/hitesh945/)
 * (@hitesh945)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-id/)
 * when I’m purchasing a product using Razorpay it shows this type of error and 
   when I’m refreshing the page this error is gone.
 * Warning: Undefined array key “id” in /var/www/html/wp-content/plugins/woo-razorpay/
   razorpay-sdk/src/Resource.php on line 30
 * Thanks
    -  This topic was modified 4 years, 2 months ago by [hitesh945](https://wordpress.org/support/users/hitesh945/).

The topic ‘Undefined array key “id”’ is closed to new replies.

 * ![](https://ps.w.org/woo-razorpay/assets/icon-256x256.png?rev=2257034)
 * [Razorpay for WooCommerce](https://wordpress.org/plugins/woo-razorpay/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-razorpay/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-razorpay/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-razorpay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-razorpay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-razorpay/reviews/)

 * 0 replies
 * 0 participants
 * Last reply from: [hitesh945](https://wordpress.org/support/users/hitesh945/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/undefined-array-key-id/)
 * Status: not resolved