How machineitsvcs/buy-on-google-for-woocommerce works
This WordPress/WooCommerce plugin links merchant Google accounts, lets merchants choose accounts to sync, imports Buy on Google orders into WooCommerce, and provides Google-order actions from the WooCommerce order editor. The main implementation is a single large PHP file, so distinct responsibilities below share its path. The README documents the workflow and capabilities; sampled PHP excerpts show order-editor/API activity, but do not expose the full sync implementation. The README also warns that licensed access to the Google application was disabled after the Buy on Google program shut down.
Main entry points: buy-on-google-for-woocommerce.php Order sync
Components 9
Merchant setup
- Plugin settings
buy-on-google-for-woocommerce.php - Google accounts
buy-on-google-for-woocommerce.php - Merchant selection
buy-on-google-for-woocommerce.php
Order synchronization
- Order sync
buy-on-google-for-woocommerce.php - Google API
- WooCommerce orders
Order management
- Order editor
buy-on-google-for-woocommerce.php - Order actions
buy-on-google-for-woocommerce.php
Other components
- Merchant
Connections 11
- Merchant → Plugin settings: configures
README.md - Plugin settings → Google accounts: links accounts
README.md - Merchant → Merchant selection: selects merchants
README.md - Merchant selection → Order sync: starts sync
README.md - Order sync → Google API: imports orders
README.md - Order sync → WooCommerce orders: creates orders
README.md - Merchant → Order editor: opens order
README.md - Order editor → Order actions: offers actions
README.md - Order actions → Google API: updates orders
README.md - Order editor → Google API: fetches order
buy-on-google-for-woocommerce.php - Google accounts → Google API: gets credentials
buy-on-google-for-woocommerce.php