PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk All 48 releases
← All changes | app/Modules/PaymentMethods/Core/AbstractPaymentGateway.php +1 -0 1.6.4 → 1.6.5 View file →
@@ -325,8 +325,9 @@
325 325 if ($oldGateway && $oldGateway->has('subscriptions') && $oldGateway->subscriptions) {
326 326 $cancelResult = $oldGateway->subscriptions->cancel($subscription->vendor_subscription_id, [
327 327 'subscription_id' => $subscription->id,
328 328 'parent_order_id' => $subscription->parent_order_id,
329 + 'mode' => $subscription->order ? $subscription->order->mode : 'current',
329 330 ]);
330 331 if (is_wp_error($cancelResult)) {
331 332 fluent_cart_error_log(
332 333 'Failed to cancel vendor subscription during conversion to manual',