diff --git a/includes/multi-currency/Compatibility/WooCommerceSubscriptions.php b/includes/multi-currency/Compatibility/WooCommerceSubscriptions.php index 26504485afe..0910a073fa9 100644 --- a/includes/multi-currency/Compatibility/WooCommerceSubscriptions.php +++ b/includes/multi-currency/Compatibility/WooCommerceSubscriptions.php @@ -166,7 +166,7 @@ public function override_selected_currency( $return ) { $subscription_resubscribe = $this->cart_contains_resubscribe(); if ( $subscription_resubscribe ) { - $switch_subscription = $subscription_resubscribe['subscription_resubscribe']['subscription_id']; + $switch_subscription = wcs_get_subscription( $subscription_resubscribe['subscription_resubscribe']['subscription_id'] ); return $switch_subscription ? $switch_subscription->get_currency() : $return; }