Hi Oscar. I am trying to make your plugin work with WooCommerce Subscriptions as well.
I noticed the meta box for setting prices manually are not working.
As a workaround, I tried entering the prices directly into database table wp_postmeta e.g.
_europe_regular_price
_europe_sale_price
_europe_price_method
The product page seems to be picking up these prices for non-default regions for subscription products. Your following filters seem to be picking this up
add_filter( 'woocommerce_get_price', array( __CLASS__ , 'get_price' ), 10, 2 );
add_filter( 'woocommerce_get_regular_price', array( __CLASS__ , 'get_regular_price') , 10, 2 );
add_filter( 'woocommerce_get_sale_price', array( __CLASS__ , 'get_sale_price') , 10, 2 );
Do you think these workarounds are safe? I am not sure the WC Subscriptions will be okay internally e.g. for the recurring payment
Do we need to add filter to this as well?
woocommerce_subscriptions_product_price
woocommerce_subscriptions_product_sign_up_fee