Plugin incompatible with MercadoPago Payment Gateway
-
The plugin will not allow payments to go through. This is the error that I get.
Fatal error:
Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in /wp-content/plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/RestApi.php:88
Stack trace: #0 /plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/RestApi.php(88): round(‘<span class=”wo…’, 2)
#1 /plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/Order.php(222): Rnoc\Retainful\Api\AbandonedCart\RestApi->formatDecimalPrice(‘<span class=”wo…’)
#2 /plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/Checkout.php(130): Rnoc\Retainful\Api\AbandonedCart\Order->getOrderData(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#3 /plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/Checkout.php(77): Rnoc\Retainful\Api\AbandonedCart\Checkout->syncOrder(3527)
#4 /wp-includes/class-wp-hook.php(289): Rnoc\Retainful\Api\AbandonedCart\Checkout->orderUpdated(3527)
#5 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#6 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#7 /plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(173): do_action(‘woocommerce_upd…’, 3527, Object(Automattic\WooCommerce\Admin\Overrides\Order))
#8 /plugins/woocommerce/includes/class-wc-data-store.php(179): WC_Order_Data_Store_CPT->update(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#9 /plugins/woocommerce/includes/abstracts/abstract-wc-order.php(185): WC_Data_Store->update(Object(Automattic\WooCommerce\Admin\Overrides\Order))
#10 /plugins/woocommerce/includes/class-wc-order.php(220): WC_Abstract_Order->save() #11 /plugins/woocommerce/includes/class-wc-form-handler.php(433): WC_Order->save()
#12 /wp-includes/class-wp-hook.php(287): WC_Form_Handler::pay_action(Object(WP))
#13 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(true, Array)
#14 /wp-includes/plugin.php(551): WP_Hook->do_action(Array)
#15 /wp-includes/class-wp.php(758): do_action_ref_array(‘wp’, Array)
#16 /wp-includes/functions.php(1291): WP->main(”)
#17 /wp-blog-header.php(16): wp()
#18 /index.php(17): require(‘/www/charlysand…’) #19 {main} thrown in /wp-content/plugins/retainful-next-order-coupon-for-woocommerce/src/Api/AbandonedCart/RestApi.php on line 88
- The topic ‘Plugin incompatible with MercadoPago Payment Gateway’ is closed to new replies.