Refactors how oAuth access tokens are obtained. Instead of taking them from the incoming query string, a call to WooCommerce Connect Sever to exchange the incoming oAuth code for the access token is made.
Configure the extension to use your local WooCommerce Connect Server version by search-replacing api.woocommerce.com with your local wcs url through the includes/Handlers/Connection.php file of the plugin.
Try to connect your Facebook for WooCommerce plugin to Facebook.
Changes proposed in this Pull Request:
Must be tested together with https://github.com/Automattic/woocommerce-connect-server/pull/2563.
Refactors how oAuth access tokens are obtained. Instead of taking them from the incoming query string, a call to WooCommerce Connect Sever to exchange the incoming oAuth code for the access token is made.
Detailed test instructions:
woocommerce-connect-server
's (https://github.com/Automattic/woocommerce-connect-server/pull/2563) branch.Changelog entry