PluginProbe
MakeCommerce for WooCommerce / 4.0.1
MakeCommerce for WooCommerce v4.0.1
4.1.0 4.0.8 trunk 1.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 All 96 releases
← All changes | payment/payment.php +0 -7 trunk4.0.1 View file →
@@ -286,15 +286,8 @@
286 286 $check_status = false;
287 287 }
288 288 }
289 289
290 - // Lock processing for this order+status to avoid race conditions between callback and redirect
291 - $lock_key = '_makecommerce_payment_lock_status_' . $paymentStatus;
292 - $locked = add_post_meta( $orderId, $lock_key, time(), true );
293 - if ( ! $locked ) {
294 - return $returnUrl;
295 - }
296 -
297 290 //check if we already processed this status in the past.
298 291 if ( $check_status && $order->get_meta( '_makecommerce_payment_processed_status', true ) == $paymentStatus ) {
299 292 return $returnUrl;
300 293 }