Open geeklore opened 5 years ago
@dwainm Would you be able to make a guess at when this might get looked at? The customer would like to know so they can move on to a different solution if it's not going to be any time soon.
Dupe of #1393 but keeping this one since there more details. We need to solve this in a generic way and not just for VIP customers
Ref: p7bbVw-2w7-p2
Has there been any progress on this? It's been some time and the problem is still there.
another report 164312-zen
P2 thread here
On VIP Go, Jetpack needs to be connected via our Master User. (
wpcomvip
)When the site owner logs in they are not presented with a banner to accept the TOS. That’s because the check here is failing.
https://github.com/Automattic/woocommerce-services/blob/bcbcd1510d03d1d2b1d245b66de48e45d8140a94/classes/class-wc-connect-nux.php#L416-L419
To accept the TOS, you have to be the Primary, or Master User. Which of course the Admin is not.
https://github.com/Automattic/woocommerce-services/blob/bcbcd1510d03d1d2b1d245b66de48e45d8140a94/classes/class-wc-connect-nux.php#L193-L197
This of course means that the plugin is not functional, there are no setting pages, etc.
This also means that the site owner won’t be able to add a credit card and purchase labels since WCS pulls the credit cards from the account of a user that initiated the Jetpack connection.
We have a customer that is currently facing this dilemma and wondering what kind of a solution might work best.
Also wanted to mention that we found that
validate_plugin( 'jetpack/jetpack.php' )
is failing.Checking the list of active plugins instead:
get_option('active_plugins')
might be better because code-activated plugins and mu-plugins won’t fit that check in WCShttps://github.com/Automattic/vip-go-mu-plugins/blob/66efdecc7ce59c5deb4bccd5543c3b00c9c6638b/vip-plugins/vip-plugins.php#L169-L182