Title: Error detected in plugin
Last modified: March 5, 2020

---

# Error detected in plugin

 *  Resolved [David Marín Carreño](https://wordpress.org/support/users/davefx/)
 * (@davefx)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-detected-in-plugin/)
 * Hi! I’ve detected an error in the version 2.1.3 of the plugin.
 * In the for loop in lines 2344-2348 of WC_Gateway_Afterpay.php you use the same
   key as in the prior for, overwriting the value of variable $cart_item_key.
 * This was causing problems in our site with plugin woocommerce_product_bundles
   when compatibility mode was off.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * (@afterpayit)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-detected-in-plugin/#post-12513893)
 * Hi [@davefx](https://wordpress.org/support/users/davefx/),
 * Thank you for sharing your findings in detail.
 * An internal ticket has been raised with the development team for further investigation.
   A future release of the Afterpay Gateway for WooCommerce plugin may subsequently
   include improved support for WooCommerce Product Bundles.
 * Thank you.
 *  Plugin Author [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * (@afterpayit)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-detected-in-plugin/#post-12609513)
 * Hi [@davefx](https://wordpress.org/support/users/davefx/),
 * This challenge is expected to be resolved by version 2.1.5 of the Afterpay Gateway
   for WooCommerce plugin, released today.
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error detected in plugin’ is closed to new replies.

 * ![](https://ps.w.org/afterpay-gateway-for-woocommerce/assets/icon.svg?rev=3261877)
 * [Afterpay Gateway for WooCommerce](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/afterpay-gateway-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/afterpay-gateway-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Afterpay](https://wordpress.org/support/users/afterpayit/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-detected-in-plugin/#post-12609513)
 * Status: resolved